For My Upcoming App I Want To Create Horizontal Listview of three cardviews.
Therefore I have created it’s layout.
But I want to show middle cardview when the screen initializes
But when the screen initializes it looks like this
I have checked the blocks of H. Scroll Arrangements
But there is no such type of block
I think you can use using ColinTree’s ScrollingHandler Extension
Something like this ? If so play with the code accordings to your needs
Divide by 1.5 with 3 objects … trying to follow the logic …
This is ( N / 2) / 1.5 = N
(N/2 ) / Y where 2 x Y It has to be the number of components.
3 components (N/2) /1.5
4 components (N/2)/2
5 components (N/2)/2.5
Thanks buddy. Is this responsive to all devices
Haven’t tested it but I believe so since calculation based on screen’s width
Thank You Very Much. i will try it
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.