I'll keep the question as short and simple as humanly possible.
View activeView = mViewPager.getChildAt(mViewPager.getCurrentItem());
returns the child view when the current item is 0 and 1. But if the current item is 2 it returns null
. Why is that?
edit: Let me rephrase myself. How do I get the child View of a ViewPager at any given item position?