Please help in using horizontal scroll handler

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?
Annotation 2020-05-14 004558

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)

1 Like

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

1 Like

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

1 Like

okay wait trying another logic…


it works fine when i use companion but not after building apk

1 Like

Any solution?

yes i’m trying…
so i request you to wait.

You request is my command. So am waiting

1 Like

middleswipe.apk (4.8 MB)
check now :roll_eyes:


Working perfectly

That’s great :star_struck: :star_struck: :star_struck:
I can’t share aia because there is my other block so i sent image to you …


  • I have used View Pager.
  • Interval of clock is 50ms.

If this helps you mark it as solution…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.