In general, it was necessary to implement the task without using PageView, where this task would be much easier to solve. 
here is my application structure. There is a root FrameView, where I substitute the fragment I need. All would be fine if the three main fragments were not switched by the navigation navigation. The problem is that if you are on a third-level child fragment to switch to another fragment from the bottom navigation, then all the logic of the backStack fragments will fall. A fly of tar still adds an additional fragment, which is called from the side menu. I ask for advice or tips on how best to organize the switching between fragments. if, when switching a fragment in the lower menu, call getFragmentManager.beginTracsacion (). remove (...). commit () and suppress all other fragments, the transition stack is still not reset and even the transition to the zero fragment with the FragmentManager.POP_BACK_STACK_INCLUSIVE flag does not provide the necessary result. in general, the head swells already