Skip to content Skip to sidebar Skip to footer

Integrating Fragmentactivity In Fragment

I've been searching but didn't find a fitting answer to my question. I'm totally new at android dev and trying to learn throw samples. I've 2 samples that I want to put together.

Solution 1:

Try ViewPagerIndicator, this will allow you to SlideMenu as well as use Tab for navigation

How to use ViewPagerIndicator

Solution 2:

You should define FragmentStatePageAdapter for the second fragment and set the adapter for the viewpager of second fragment. You can't integrate another fragment into a fragment. You can use second page adapter and viewpager in the same activity.

Post a Comment for "Integrating Fragmentactivity In Fragment"