Android : ViewPager child view method callin automatic?

on Sunday, August 3, 2014


I implemented View Pager with fragment child A/B/C. To get selection of default Fragment(say A) I use mViewPager.setCurrentItem(position) and it work fine. But on this Second Fragment (B) view methods onViewCreated and setUserVisibleHint calling automatically.


Is there any way to prevent this !


0 comments:

Post a Comment