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
Post a Comment