Please help me to properly use horizontal scroll handler. I used it like
Please provide more details what are you trying to do and give a clear image of blocls info in these blocks is noy sufficient
For horizontal scroll handler you have to use
Horizontal Scroll Arrangements and you have used
i am trying to scroll from one horizontal arrangment to another, so i want to use scroll handler to do this, i cant seem to get it.
i have tried this and its not working
User1_Screen, user2_screen and info are vertical arrangement and in horizontal scroll handler you have to use Horizontal Scroll Arrangements.
ok let me try this
i have set the horizontal scroll and its working
the problem now is that i what to switch between one to another by scrolling the screen and its not working
i tested when this and it worked
So if you want to make tab swipe features then why you are not making it using tabswipe arrangements
I don’t understand
First make me clear that what you want to make because horizontal scroll arrangement can be mainly used to make automatic slider and other thing related to this…
but if you want tab swipe like thing then you can use this?
yes I have tried this, i did not get want i wanted,
let say i have 3 blocks to show
i want bock B to show when the screen start and the block B should be in the middle so that when i scroll left, i will see block A and when i scroll right i see block C
if you want something like this then you have to use gesture handler extension and animation utils together but it will be very difficult to make it…
and it not possible to make it with tablayout and viewpage(it always start from beginning)
I will see what I can do about it, but will really appreciate if you can help me out.
yes, i’ll be there to help you but first you have to try…
and wait sometime because i am trying to find way to do it…
and answer my question if we display middle tab after minute sec onscreen initialization then will it be okay?
Yes it’s ok
middleswipe.apk (4.8 MB)
it will be something like this… is it okay?
Yes but i want the middle one which is the blue color to be the first to display once the screen initialize
on screen initialization it automatically swiped to blue(in my case). in around 100ms
What’s result in your case??
It stays on the yellow color without moving
okay wait trying another logic…