DismissablePanelStackContainerController

open class DismissablePanelStackContainerController<D : DismissablePanelStackData<P>, P : GenericDismissablePanel<C>, C : PanelContext>(    panelData: LiveData<out D?>,     container: ViewGroup,     subContainerManager: PanelStackSubContainerManager<D>,     animationController: PanelSubContainerAnimationController<D>,     createPanelContext: (P) -> C) : PanelStackContainerController<D, P, C>

A controller that visualises a dismissable panel stack provided by panelData in container. This includes triggering animations when panels appear and disappear.

Parameters

D

The type of PanelStackData that is visualised by the container view.

P

The type of GenericDismissablePanel in the panel stack.

C

: The type of PanelContext of panels in the panel stack

Constructors

Link copied to clipboard
fun <D : DismissablePanelStackData<P>, P : GenericDismissablePanel<C>, C : PanelContext> DismissablePanelStackContainerController(    panelData: LiveData<out D?>,     container: ViewGroup,     subContainerManager: PanelStackSubContainerManager<D>,     animationController: PanelSubContainerAnimationController<D>,     createPanelContext: (P) -> C)

Inherited functions

Link copied to clipboard
fun bind(panelContainerViewContext: PanelContainerViewContext)

Binds this controller to the system UI with the given panelContainerViewContext. A controller may only be bound once and must be unbound through unbind when destroying the controller.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
@CallSuper
open fun unbind()

Unbinds this controller from the system UI. The controller must have been bound through bind first.