You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, if I remove the first item from my ViewPager2, the dots count is updated, but the indicator' selected item is not updated (no dots are selected, I'm using DotsIndicator with different selected color). I'm calling adapter.notifyDataSetChanged() after removing the item. I'm expecting the first item to be selected.
For some reason, if I remove the first item from my ViewPager2, the dots count is updated, but the indicator' selected item is not updated (no dots are selected, I'm using
DotsIndicator
with different selected color). I'm callingadapter.notifyDataSetChanged()
after removing the item. I'm expecting the first item to be selected.What could be the issue? I'm using version 4.1.2
I also modified the sample to reproduce this bug, take a look at this branch (first DotsIndicator) - https://github.com/vkotovv/dotsindicator/tree/viewpager2-mutablelist-bug
The text was updated successfully, but these errors were encountered: