Hi koders so far now we were not able to check out where user is scrolling and what is reading in long lists in our app but i made it possible using a jugard (punjabi) method.
Advantages
Now u can track that where a user is scrolling in a list of posts in your app and which post he is reading or skipping.
U can use it to show custom data to a user after detecting his behavior as facebook does…
For example u can play a video when user stops at video post just like facebook and can stop that video when user moved on example 2 u can use tags in your posts/news etc and when a user reads a post of specific type or focuses there u can track his actions and then can show him data /news!/post according to his demand… That will be a next step towards professionality and it increases user engagement
Design Part
Design part contains following components
Explanation
I tried two basic methods and 3rd one is their blend
It contais blocks of both above methods working parallal
Actualy first two methods have some minor limitations but using both of then at once eliminate them.
@Yash_Agarwal_376 With this u can track where user is scrolling in a list and which post he is reading… U can use it show custom data to a user after detecting his behavior…
Most of the users ask questions to get focusing position of user in lists so this guide gives them an opportunity to get that information…
I’m searching for a way to do as in the linked video @Zia_Choudhary , I just tested your app and the behaviour is not the same as the one from the video
Actually you just set the header value to the clicked cardview or check scroll position (with a pixel number, I wonder if it will works on every device )
Maybe I can investigate with the Colin Tree’s extension (ScrollArragementHandler)
By the way, thanks for your help
U r welcome
I know what u r trying is a little bit different but i think that will need my method to check category position
No it’ll work… Just give it a try and modify according to your needs because its a guide that covers whole topic if you want some modifications u can do by changing logics
Just play with logics and you will be done
Actually I’m wondering how setting positions or dimensions in pixel can work efficiently
Why there is not % references ??
For example, how can you create an arrangement that takes 33% of the width screen ?
Do you have to calculate a ratio between full width screen and setting it in px everytime ?
I got the topic.really helpfull to create advanced social app.suggest (& with this if you connected imotion detect extention & show post based on user imotion that will be great.)
@msr79526 Thanks for showing love its a great idea i’ll try to implement it after 5 aug because now m busy in my exam preparations
This idea will help us to develop high level apps… Like social apps… I really appreciate it
If anyone else wants to do it then he is welcome
@WatermelonIce Hmmm then check i have used width not percentage… @Stefun asked about percentage so i suggest him a way to do that…every users perception is always different being a guide author i have to satisfy all of their queries
Just curious, do you know there is an option called width Percent/height percent? With this way you van reduce the time of loading (as there is calculations).
So @stefun asked for 33% of the screen width of an arrangement. He should use Width percent and put 33 in the slot.