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
I found a bug when you have for example list with 5 elements and then you change item count to for example two and trigger notifyDataSetChange()
When this is triggered I have 3 dots but it does remove the first two dots. This causes an issue that I end up with one active dot (first one active when I am no last image, and all not active for other image)
Hi,
I found a bug when you have for example list with 5 elements and then you change item count to for example two and trigger notifyDataSetChange()
When this is triggered I have 3 dots but it does remove the first two dots. This causes an issue that I end up with one active dot (first one active when I am no last image, and all not active for other image)
This line cause bug
dotsindicator/viewpagerdotsindicator/src/main/java/com/tbuonomo/viewpagerdotsindicator/DotsIndicator.kt
Line 100 in ad9b4c4
When I change it to this:
linearLayout!!.removeViewAt(linearLayout!!.childCount - 1)
It works ok, so I think this is a valid fix for that issue
The text was updated successfully, but these errors were encountered: