BasePanelContainerControllerAdapter

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 properties

Link copied to clipboard
abstract val subContainerViewModels: List<VM>

The panel sub-container view models.

Functions

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

Initializes adapterContext and invokes restore if restorePanelContainerViewModel is non-null.

Inherited functions

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.

Inheritors