Fragments with the viewpager conflict, the activity is a viewpager, viewpager has four fragments page cache and belt, one of the page there is a control click event is to open a new fragments (in the way of adding to the back stack covers the viewpager parent layout), the new fragments with the viewpager class type one fragment of the page class type is the same, then the pit appeared, when the new open after the fragments of the stack, the viewpager four fragments can display properly and the switch, but the class type to shut down the fragments of the same page in the view of the failure, the other three pages of the view is good, can you tell me where the problem is, how to solve?
CodePudding user response:
That estimate is your control into the stack problem, careful debugging, shining