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

This solution wo'nt work in some cases #11

Open
htqbuu opened this issue May 30, 2014 · 1 comment
Open

This solution wo'nt work in some cases #11

htqbuu opened this issue May 30, 2014 · 1 comment

Comments

@htqbuu
Copy link

htqbuu commented May 30, 2014

The case is I need to show 3 view at the same time. So I set: setOffscreenPageLimit(2)
That means, there are 5 views to be cached. And currently, I only have 4 fragments to make view. So, fragment manager will have a chance to attach duplicate fragment which cause fragment to be blank !.

@DigitalDavo
Copy link

I don't think you can use setOffscreenPageLimit() with this solution - this is a replacement for that sort of functionality. You just define all of your fragments to be in the infiniteview list and it loops through them backwards and forwards for you.

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

2 participants