tommybuonomo / dotsindicator

Three material Dots Indicators for view pagers in Android !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dots Not Updated When Using ViewPager2 + ListAdapter

cocoahero opened this issue · comments

When using a ListAdapter with ViewPager2, the dots indicator does not properly respond to data changes in the adapter.

It appears that this is because only the onChanged callback of AdapterDataObserver is implemented. When using a ListAdapter, it utilizes the much more granular callbacks of AdapterDataObserver instead of onChanged.

This appears related to #73.

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