NavAction
Handles the navigation actions.
Functions
Link copied to clipboard
fun <K : NavArgumentKey> navigate(navRoute: NavRoute<K>, navOptions: NavOptions? = null, navigatorExtras: Navigator.Extras? = null)
Navigates to the given navRoute in the current NavGraph. If an invalid route is given, an IllegalArgumentException will be thrown.
Link copied to clipboard
Attempts to navigate up in the navigation hierarchy.
Link copied to clipboard
Attempts to pop the controller's back stack.
fun <K : NavArgumentKey> popBackStack(navRoute: NavRoute<K>, inclusive: Boolean, saveState: Boolean = false): Boolean
Pops the back stack to a specific navRoute.