TaskPanelSubContainerManager
Functions
Link copied to clipboard
abstract fun addSubContainer( parentContainer: ViewGroup, mode: TaskPanel.Mode, panelTransitionSource: PanelTransitionSource? = null, @IdRes subContainerTaskPanelId: Int? = null, @IdRes subContainerTaskProcessPanelId: Int? = null): TaskPanelSubContainer
Content copied to clipboard
Creates a sub-container for an individual task panel and attach it to parentContainer. Sub-containers allow for non-instant transitions between different task panels, during which multiple task panels may be visible at the same time.
Link copied to clipboard
abstract fun removeSubContainer( subContainer: TaskPanelSubContainer, panelTransitionDestination: PanelTransitionDestination? = null, onSubContainerRemoved: () -> Unit)
Content copied to clipboard
Removes a sub-container for a task panel.
Link copied to clipboard
abstract fun setDismissalCallbacks( subContainer: ViewGroup, onDismissalStarted: () -> Unit, onDismissalCompleted: () -> Unit)
Content copied to clipboard
Set callback handlers for the dismissal of a task panel sub-container.