PanelContainerContext
data class PanelContainerContext(fragmentManager: FragmentManager, softInputAccessor: SoftInputAccessor, viewLifecycleOwner: LifecycleOwner, panelContainerViewModelStore: PanelContainerViewModelStore, fragmentFactory: IviFragmentFactory)
The entry point for a panel container to communicate with the system UI host. The lifetime of the context instance is bound to the lifetime of the system UI view. For example, it is recreated when the active theme is updated.
Parameters
fragmentManager
An Android fragment manager so that the panel container can add or remove panels' fragments.
softInputAccessor
A soft input accessor for panels.
viewLifecycleOwner
A lifecycle owner for a panel container.
panelContainerViewModelStore
The PanelContainerViewModel store. Used to store the PanelContainerViewModels.
fragmentFactory
Creates the fragments for the panels of a PanelContainer.
Constructors
Link copied to clipboard
fun PanelContainerContext(fragmentManager: FragmentManager, softInputAccessor: SoftInputAccessor, viewLifecycleOwner: LifecycleOwner, panelContainerViewModelStore: PanelContainerViewModelStore, fragmentFactory: IviFragmentFactory)
Functions
Link copied to clipboard
Creates a PanelContext.