PanelStackSubContainerState

data class PanelStackSubContainerState(@IdRes val subContainerId: Int) : PanelSubContainerState

Represents the state of a sub-containers of PanelStackContainerController used in the system UI. It allows controllers to restore sub-containers after the controllers have been recreated.

States are stored in a view model store, and loaded by the PanelContainerController.stateViewModel delegate.

Parameters

subContainerId

The ID of the sub-container view.

Constructors

Link copied to clipboard
fun PanelStackSubContainerState(@IdRes subContainerId: Int)

Properties

Link copied to clipboard
val subContainerId: Int