BasePanelContainerControllerAdapter

abstract class BasePanelContainerControllerAdapter<V : ViewGroup, CD, VM : PanelSubContainerViewModel<SD>, SD> : PanelContainerControllerAdapter<V, CD, VM, SD>

Base class for PanelContainerControllerAdapters.

Parameters

V

The panel container ViewGroup type that implements the PanelContainerView interface.

CD

The type of the panel container data. The panel container data is the input data that is visualized by the panel container.

VM

The panel sub-container view model type.

SD

The type of the panel sub-container data. The data is derived from the panel container data of type CD.

Constructors

Link copied to clipboard
fun BasePanelContainerControllerAdapter()

Inherited functions

Link copied to clipboard
abstract fun initialize(adapterContext: PanelContainerControllerAdapterContext<V>, restorePanelContainerViewModel: PanelContainerViewModel<CD, VM, SD>?)

Initializes the adapter. This must be called before update or onStop is called.

Link copied to clipboard
abstract fun onStop(): PanelContainerViewModel<CD, VM, SD>

Called when the system UI is stopped.

Link copied to clipboard
abstract fun update(panelContainerData: CD?)

Called whenever the panel container data for the PanelContainerView has been changed.