How to perform custom navigation?
问题 I try to using new architecture component called navigation. It's very thrilling and make lesser code than using FragmentManager . Now, I ended up in a case where I have 5 fragments with navigation looks like this: A -> B -> C -> D -> E Sometime I have to move user from fragment A directly to E and if back button pressed, I want something like this: E -> D -> C -> B -> A But what I got now is: E -> A Is there any approachable way to make it happen? 回答1: OK! if you want to go from E -> A then