Skip to content
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

Lag when moving to the last or first fragment #11

Open
ramvdixit opened this issue Jun 25, 2014 · 6 comments
Open

Lag when moving to the last or first fragment #11

ramvdixit opened this issue Jun 25, 2014 · 6 comments

Comments

@ramvdixit
Copy link

Hi there! Excellent component and thank you very much. It perfectly fits my requirement. I have only one issue, though and I thought I will post it to check you can throw some light on where I need to work on.

I have this Viewpager that contains 6 fragments. By implementing the LoopingViewPager, it perfectly navigates to the first fragment when I am on the last page and swipe to the left and the other way around too. I just noticed that when you do this multiple times (back and forth from the first to the last and the last to the first), there is a lag for a half second or so and then the new fragment comes into view. Is this because of the caching? I have set the boundary caching to 'true' and checked as well but the lag is still there. On the other hand, if I wait for a couple of seconds and try swiping, it is perfectly smooth.

Is there something that I need to address?

Thanks and congratulations on a great library!

Ram Iyer

@ariedov
Copy link

ariedov commented Jan 28, 2015

Have the same issue...

@cyberrob-zz
Copy link

@TracyZhangLei I've merged your code but it still blink while sliding from first tab to last tab.

@TracyZhangLei
Copy link

@cyberrob do you call setBoundaryCaching(true) or set the DEFAULT_BOUNDARY_CASHING true?

@TracyZhangLei
Copy link

@cyberrob-zz
Copy link

I found it fixed. That's my fault. Issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants