BottomSheetContentRouteController
class BottomSheetContentRouteController(provider: StateFlow<BottomSheetNavigatorState?>, parentRouteController: RouteController? = null) : ProvidingNavHostRouteController<BottomSheetNavigatorState>
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
Navigates back
Link copied to clipboard
Converts Provider into a NavHostController