TaskPanelContainerController

class TaskPanelContainerController(    subContainerManager: TaskPanelSubContainerManager,     container: ViewGroup,     panelData: LiveData<TaskPanelStackData>,     panelContext: PanelContext) : PanelContainerController<TaskPanelStackData> , OnBackPressedConsumer

A controller that visualises the task panels provided by panelData in container. This includes triggering animations when panels appear and disappear.

System UI specific details for individual task panels can be injected through subContainerManager.

Constructors

Link copied to clipboard
fun TaskPanelContainerController(    subContainerManager: TaskPanelSubContainerManager,     container: ViewGroup,     panelData: LiveData<TaskPanelStackData>,     panelContext: PanelContext)

Functions

Link copied to clipboard
open override fun onBackPressed(): Boolean

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.