tommybuonomo / dotsindicator

Three material Dots Indicators for view pagers in Android !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get incorrect width of the selected dot when seeking pager programmatically

kenilt opened this issue · comments

I put the indicator below the view pager, both of them are one item of the recycler view. And the pager was scroll by an auto scroller, it will seek view pager to the next page every 4 seconds. For the first time, it was shown correctly, but sometimes later, the selected dots just got the correct color but got the wrong width. It happens very often, just use my app in 2-5 minutes, and it happens. How can I prevent this bug happen?

Image:
Screen Shot 2020-05-04 at 13 57 26

Duplicate of #66

Hello, thanks for your contribution !
This issue is now fixed in the new version 4.3
Thanks 🔥