ViewFactory

interface ViewFactory

A factory for the main view to be shown within the system UI.

Inheritors

Functions

Link copied to clipboard
abstract fun bindData(lifecycleOwner: LifecycleOwner, panelContainerContext: PanelContainerContext)

Binds a view that was previously inflated with inflate to its data, observed by the given LifecycleOwner. The provided panelContainerContext can be used for binding panels to PanelContainers.

Link copied to clipboard
abstract fun inflate(inflater: LayoutInflater): View

Inflates the view using the given inflater. The view will should not be attached to the container, but will be attached by the system UI.