-
Notifications
You must be signed in to change notification settings - Fork 193
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
CirclePageIndicator is not working with InfiniteViewPager #30
Comments
This worked quite nicely for me: |
@joshma91 The link provided above worked but the animation of circlepageindicator from last item to first item not good? because it go to empty spot then come to first spot. |
@vsay01 I'm sorry, I'm a bit removed from the project where I used this and don't have the source code anymore. Did you do all of the things this page recommends doing? https://github.com/surfstudio/InfinitePageIndicator/blob/master/README.md |
@joshma91 Yes, I was be able to set the circlepagindicator with the infiniteviewpager.
When I enable the animation it works fine first to second to the last but the animation from last to first and first to last the animation not good because selected circle move to the empty spot (virtual spot) before move to first or last. Any idea how can we improve it? |
@vsay01 Found my code - here's my implementation. You can see there's a couple tweaks in here which I think I needed to add to get it to work. Hope this helps
|
@joshma91 Thank I followed the code I got an error Plus when you setSnap(true) it will disable the animation, but I would like to keep the animation of the circlePageindicator. |
@vsay01 I'm not sure about the setSnap. Just try true/false and see what works for you |
@joshma91 I tried your code
|
@vsay01 I'm sorry, I'm out of ideas on how to help you now. That was all I had for my code... Good luck with this, I hope you figure it out soon. |
@joshma91 Thank 👍 |
doesnt work for me, it freezes then crashes later |
@monchiez13 For me too - it crashes if I use TabLayout with InfiniteViewPager !! Any fix would be appreciated !! |
CirclePageIndicator (com.viewpagerindicator.CirclePageIndicator) is not working with InfiniteViewPager.
The text was updated successfully, but these errors were encountered: