RootNavHostComposableNavigator
constructor(navigationMapper: @Composable (Action) -> ComposableNavSpec, parentRouteController: RouteController? = null, rootResultHandlers: List<NavHostResultHandler<*, *>> = emptyList(), contentBuilder: RouteContentBuilder)
Parameters
Action
the type of NavigationAction this navigator should respond to.
navigationMapper
Maps Action to a ComposableNavSpec to be navigated to.
parentRouteController
A RouteController managing the parent layout of the NavHost.
rootResultHandlers
A list of NavHostResultHandler to be added to the root view.
contentBuilder
The RouteContentBuilder describing the navigation graph