ModalPanelStackSubContainerManager
abstract class ModalPanelStackSubContainerManager : PanelStackSubContainerManager<ModalPanelStackData>
Content copied to clipboard
Constructors
Inherited functions
Link copied to clipboard
abstract fun addSubContainer( parent: ViewGroup, lifecycleOwner: LifecycleOwner, panelData: ModalPanelStackData? = null, subContainerState: PanelStackSubContainerState? = null): PanelStackSubContainerHolder
Content copied to clipboard
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
Content copied to clipboard
Whether views in subContainerHolder can be removed. It should be checked before calling removeSubContainer.
Link copied to clipboard
abstract fun removeSubContainer(subContainerHolder: PanelStackSubContainerHolder)
Content copied to clipboard
Removes subContainerHolder, destroying views for a sub-container.