BottomSheetContentNavHostComposableNavigator

class BottomSheetContentNavHostComposableNavigator<Action : NavigationAction<*>>(bottomSheetNavigator: StateFlow<BottomSheetNavigatorState?>, resultHandlers: List<NavHostResultHandler<*, *>> = emptyList(), parentRouteController: RouteController? = null, navigationMapper: @Composable (Action) -> ComposableNavSpec) : ProvidingNavHostComposableNavigator<Action, BottomSheetNavigatorState>

A ProvidingNavHostComposableNavigator that navigates for the BottomSheetNavigatorState.contentNavHostController of a flow of BottomSheetNavigatorState

Parameters

Action

the type of NavigationAction this navigator should respond to.

bottomSheetNavigator

The StateFlow of BottomSheetNavigatorState to manage this navigator

resultHandlers

The NavHostResultHandler to add to this navigator.

parentRouteController

An optional parent RouteController managing the navigation of a view higher in the hierarchy.

navigationMapper

Maps Action to a ComposableNavSpec to be navigated to.

Constructors

constructor(bottomSheetNavigator: StateFlow<BottomSheetNavigatorState?>, resultHandlers: List<NavHostResultHandler<*, *>> = emptyList(), parentRouteController: RouteController? = null, navigationMapper: @Composable (Action) -> ComposableNavSpec)

Properties

Link copied to clipboard

This Composable modifier method transforms the View Builder associated with a BaseLifecycleViewModel to wrap the functionality of the subscribable.

Functions

Link copied to clipboard
open override fun navigate(action: Action)