NavigationController
Thin wrapper over one Navigation3 NavBackStack — the object registered in NavigatorsHolder under a navigatorId, and what Navigate/NavigateUp/NavigateClearingStack actually operate on. One instance per backstack — the app's own root one (built in MosaicApplication) and one per currently-composed NestedNavigationGraph tile.
Functions
Link copied to clipboard
fun navigate(destination: String, navigationData: Map<String, AnySerializable>? = null, poppingUpTo: PopUpTo? = null, launchSingleTop: Boolean = true)
Pushes destination onto this backstack — the mechanism behind Navigate.
Link copied to clipboard
fun navigateClearingStack(destination: String, navigationData: Map<String, AnySerializable>? = null, launchSingleTop: Boolean = true)
Clears this backstack entirely and pushes destination as its only entry — the mechanism behind NavigateClearingStack.