Skip to content Skip to sidebar Skip to footer

Is Nested Fragment Possible?

I have a ViewPager contains three fragment, and I want to put 3 new fragments into the third fragment.Is that possible? [ViewPager] [Fragment 1] [Fragment 2] [Fragment

Solution 1:

Yes, Nested fragment is possible.

You have to use getChildFragmentManager() instead of getFragmentManager() while you are working with nested fragments. For more details look into this link.

Hope this will help you....:)

Post a Comment for "Is Nested Fragment Possible?"