Open htqbuu opened 10 years ago
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.
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 !.