PanelContainerController
abstract class PanelContainerController<D, VM>(panelContainerId: PanelContainerId, panelData: LiveData<out D?>)
A base class for managing the contents of a container of panels.
Implementations are responsible for visualising the panelData inside a container. See onPanelDataChanged for details.
This base class facilitates that by managing the internal lifecycle, the lifecycle of the Fragments for each attached panel and the panel stack.
Parameters
VM
The panel sub-container view model type.
Constructors
Properties
Functions
Link copied to clipboard
Binds this controller to the system UI with the given panelContainerContext. A controller may only be bound once and must be unbound through unbind when destroying the controller.