bindData

open override 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.

It is important for the bound data changes to be reflected immediately. After this call, Android may attempt to recover the system UI state after the system UI is recreated (for example when changing the theme or orientation) and it needs all panel containers to be available for that.

This must be called exactly once after inflate is called.