Parameters

D

The type of panel stack data that populates the container view.

Constructors

Link copied to clipboard
fun PanelStackSubContainerManager()

Inherited functions

Link copied to clipboard
abstract fun addSubContainer(    parent: ViewGroup,     lifecycleOwner: LifecycleOwner,     panelData: D? = null,     subContainerState: PanelStackSubContainerState? = null): PanelStackSubContainerHolder

Creates a new PanelSubContainerHolder of type H, inflating or creating views for a sub-container. Views are attached it to parent, using lifecycleOwner for data binding. panelData and subContainerState is optional information.

Link copied to clipboard
abstract fun canBeRemoved(subContainerHolder: PanelStackSubContainerHolder): Boolean

Whether views in subContainerHolder can be removed. It should be checked before calling removeSubContainer.

Link copied to clipboard
abstract fun removeSubContainer(subContainerHolder: PanelStackSubContainerHolder)

Removes subContainerHolder, destroying views for a sub-container.

Inheritors

Link copied to clipboard