PanelContainerController
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.
Constructors
Types
Link copied to clipboard
class PanelSubContainerStateViewModel<S : PanelSubContainerState>(val subContainerStates: MutableList<S> = mutableListOf()) : ViewModel
Content copied to clipboard
A wrapper for a collection of sub-container states of type S. It is used to store the collection in ViewModel store. The collection can be loaded with the stateViewModel delegate.
Functions
Link copied to clipboard
Binds this controller to the system UI with the given panelContainerViewContext. A controller may only be bound once and must be unbound through unbind when destroying the controller.