ViewFactory

interface ViewFactory

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

Functions

Link copied to clipboard
abstract fun bindData(lifecycleOwner: LifecycleOwner, panelContainerViewContext: PanelContainerViewContext)

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

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.

Inheritors

Link copied to clipboard