I\'m trying to make an app that has a ViewPager in a Fragment that is part of a TabHost. Everything works out fine. I have my tabbar, I can switch
ViewPager
TabHost
you should use getChildFragmentManager() instead of getFragmentManager() and FragmentStatePagerAdapter() instead of FragmentPagerAdapter().Hope it will be useful for someone.
getChildFragmentManager()
getFragmentManager()
FragmentStatePagerAdapter()
FragmentPagerAdapter()