-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select particular position of dot #57
Comments
Hi @akankshapaul048 , |
Well i did that but no changes |
Try this |
Correct, this is still a problem, unless you setCurrentItem with an animation. viewPager.setCurrentItem(1, true) |
@tommybuonomo any updates on this? |
Handler().postDelayed({viewPager.setCurrentItem(1, true)}, 75) worked but i want it without this! |
@SamadiPour This worked for me:
|
Hello, we've hit this as well. Both the Spring and Worm implementations have the same buggy behavior, on a dark mode switch it selects the 1'st dot but the adapter reports position 3 as the currently active item. Debugging the
Dot state recovers on next / prev page navigations or on adapter changes. |
It's still the problem. Indicator doesn't update it's state correctly, and I don't see a way to set currentItem manually |
Duplicate of #126 |
Hello there, thanks everyone for your contribution |
View Pager + WormDotsIndicator
The viewpager is selected to current item (which can be any position), but I am not able to select the dot indicator to that position of viewpager programatically.
The text was updated successfully, but these errors were encountered: