PanelContainerViewContext

data class PanelContainerViewContext(    fragmentManager: FragmentManager,     softInputAccessor: SoftInputAccessor,     viewLifecycleOwner: LifecycleOwner,     viewModelStoreOwner: ViewModelStoreOwner)

The entry point for a container view 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.

Constructors

Link copied to clipboard
fun PanelContainerViewContext(    fragmentManager: FragmentManager,     softInputAccessor: SoftInputAccessor,     viewLifecycleOwner: LifecycleOwner,     viewModelStoreOwner: ViewModelStoreOwner)

Functions

Link copied to clipboard
fun createPanelContext(safeArea: LiveData<SafeArea?> = EmptyLiveData()): PanelContext

Creates a PanelContext.