BottomSheetContentRouteController

ProvidingNavHostRouteController where the NavHostController is provided by the content of a BottomSheetNavigatorState

Parameters

provider

The flow of BottomSheetNavigatorState where the BottomSheetNavigatorState.contentNavHostController is to be managed by this Route Controller

parentRouteController

An optional parent RouteController managing this controller.

Constructors

Link copied to clipboard
constructor(provider: StateFlow<BottomSheetNavigatorState?>, parentRouteController: RouteController? = null)

Functions

Link copied to clipboard
open override fun AddResultHandlers(viewModel: BaseLifecycleViewModel, resultHandlers: List<NavHostResultHandler<*, *>>)

Adds a list of NavHostResultHandler to handles results for this route controller.

Link copied to clipboard
open override fun back(result: Route.Result): Boolean

Navigates back

Link copied to clipboard
open override fun close()

Closes this RouteController

Link copied to clipboard
open override fun navigate(newRoute: Route)

Navigates to a Route

Link copied to clipboard

Converts Provider into a NavHostController