-
Notifications
You must be signed in to change notification settings - Fork 357
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
Dots : Random Size when looping banner #66
Comments
Hi @odlsoon, are you sure that you're using the last version 4.1.2? |
@tommybuonomo thanks for response :D, sorry, im forgot about write the version, im using version 3.0.3 because, still using AppCompat instead of AndroidX |
i meet the problem in loop viewpager2 |
Hey I succeeded to make it work with this piece of code using the last version of the library ( fun triggerNextPageDelayed() {
Handler().postDelayed({
val nextItem = if (viewPager2.currentItem == adapter.itemCount - 1) {
0
} else {
viewPager2.currentItem + 1
}
viewPager2.currentItem = nextItem
triggerNextPageDelayed()
}, 500)
}
triggerNextPageDelayed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thankss for this Awesome Library, i love it :D,
hi dev i have issue when looping banner with ViewPager + DotsIndicator....
in my case, for example i have 10 banner auto looping, and when reaching last banner , viewPager set banner position to 0 again, and the issue coming, Dots Size are become randomizing sized after the last banner....
im sorry for my broken english :D
The text was updated successfully, but these errors were encountered: