Skip to content Skip to sidebar Skip to footer

Parent Fragment Not Displaying Child Viewpager

I am using the Android Compatibility Package with API Level 10. I have a FragmentActivity and in its onCreate method, I dynamically add a newly created Fragment instance (myPagerFr

Solution 1:

You cannot nest fragments in fragments. Hence, you cannot put a FragmentPagerAdapter in a ViewPager in a Fragment. Please redesign your UI to resolve this conflict, such as by getting rid of the outer-most Fragment.


Post a Comment for "Parent Fragment Not Displaying Child Viewpager"