I\'ll keep the question as short and simple as humanly possible.
View activeView = mViewPager.getChildAt(mViewPager.getCurrentItem());
retu
Your view pager adapter is holding maximum of 2 pages, i.e 2 views/fragments, the rest of them are recycled. In other case, what you did not mentioned is that you might have 2 pages/views in the ViewPager.
Please look at mViewPager.setOffscreenPageLimit()
mViewPager.setOffscreenPageLimit()