ViewPager setOffscreenPageLimit not working when using it as NestedFragment with getChildFragmentManager
问题 I am trying to do something similar as https://stackoverflow.com/a/24437224/2277631. I am even using the same layout: I am following this approach because I am using a NavigationView (each option is a fragment) that has the first option as a fragment with Tabs (so a ViewPager with more fragments). I found a problem when using: viewPager.setAdapter(new AdapterView(getChildFragmentManager())); Basically, using the ViewPager as nested fragment, it only loads 1 page (from the 3 tabs), and it only