TabLayout ViewPager Not Loading When Using Backstack [duplicate]
问题 This question already has an answer here : Lifecycle of a replaced ViewPager and BackStack? (1 answer) Closed 4 years ago . I'm using a TabLayout in one of my fragments with a viewPager to switch between two fragments below the tabs. When I click the FAB inside one of the lower fragments, I load a new fragment (for input). However- when I press the BACK button, the TabLayout shows up but WITHOUT either of the lower fragments (represented by the pages). So what am I doing wrong? and is there a