Unclude fragment from Backstack using Navigation component
问题 I have Fragments X, A, B, and i'm using Navigation architecture component to navigate between them. Fragments A, B specific, but Fragment X can be any(C,D,...); Fragments A and B from Bottom Navigation and their "navigations icons" always on the screen, it means user can go to A or B anytime from any Fragment(include A and B): X -> A -> B X -> B -> A A -> B -> X A -> B -> A //another ways My problem about this case: X -> A -> B -> A -> B -> ? If user started from X , reached ? and begin to go