You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can only pop from the currently selected index. This can throw an UnsupportedOperationException if trying to pop the root fragment
100
100
101
-
fragNavController.pop();
101
+
fragNavController.popFragment();
102
+
103
+
### Pop multiple fragments
104
+
You can pop multiple fragments at once, with the same rules as above applying. If the pop depth is deeper than possible, it will stop when it gets to the root fragment
105
+
fragNavController.popFragments(3);
102
106
103
107
### Replacing a fragment
104
108
You can only replace onto the currently selected index
0 commit comments