I am using a navigation drawer in my project, with 5 fragments in it. In one fragment I have the in the design support library introduced TabLayout, which includes 2 Fragments.
When I used viewPager and back on it, I had empty fragments until switch when I used getSupportFragmentManager.
getSupportFragmentManager
Try to use: getChildFragmentManager.
getChildFragmentManager