PanelSubContainerStateViewModel

class PanelSubContainerStateViewModel<S : PanelSubContainerState>(val subContainerStates: MutableList<S> = mutableListOf()) : ViewModel

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.

Constructors

Link copied to clipboard
fun <S : PanelSubContainerState> PanelSubContainerStateViewModel(subContainerStates: MutableList<S> = mutableListOf())

Properties

Link copied to clipboard
val subContainerStates: MutableList<S>

Inherited functions

Link copied to clipboard
open fun addCloseable(@NonNull p0: Closeable)