PanelContextFactoryProvider
A PanelContextFactory provider.
Functions
Link copied to clipboard
fun createCommonPanelContextFactory(configure: MutableCommonPanelContext.() -> Unit = {}): CommonPanelContextFactory
Creates a CommonPanelContextFactory and configures the CommonPanelContext with configure.
Link copied to clipboard
fun createDismissiblePanelStackContextFactory(onBackPressed: () -> Unit, configure: MutableDismissiblePanelStackContext.() -> Unit = {}): DismissiblePanelStackContextFactory
Creates a DismissiblePanelStackContextFactory and configures the DismissiblePanelStackContext with configure.
Link copied to clipboard
fun createNavigablePanelStackContextFactory(navigablePanelStackData: LiveData<NavigablePanelStackData>, onBackPressed: () -> Unit, configure: MutableNavigablePanelStackContext.() -> Unit = {}): NavigablePanelStackContextFactory
Creates a NavigablePanelStackContextFactory and configures the NavigablePanelStackContext with configure.
Link copied to clipboard
fun createNotificationPanelContextFactory(configure: MutableNotificationPanelContext.() -> Unit = {}): NotificationPanelContextFactory
Creates a NotificationPanelContextFactory and configures the NotificationPanelContext with configure.
Link copied to clipboard
fun toNavigablePanelStackContextProvider(navigablePanelStackData: LiveData<NavigablePanelStackData>, onBackPressed: () -> Unit): NavigablePanelStackContextFactoryProvider
Converts this PanelContextFactoryProvider into a NavigablePanelStackContextFactoryProvider.