android - Fragment of viewpager refreshes but not supposed to -


i have viewpager 4 fragments. when i'm on 4th fragment , come on 3th 1 swipe, physically, shows 3th 2nd 1 refreshes causing nullpointerexception because i'm not on fragment.

when same thing 3th 2nd , 2nd 1st, works perfectly.

does faced such issue before ?

when using viewpager, will, default, load items 1 before , 1 after current item. can change behavior setoffscreenpagelimit (int limit)


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -