TaskPanelStackSubContainerController
The task panel sub-container controller.
This panel container attaches a TaskPanelStackData.stackedPanels and optionally a TaskPanelStackData.taskProcessPanel to a panel sub-container.
For each panel sub-container a layout based on subContainerLayoutId is inflated. If subContainerLayoutId is null
then a default FragmentContainerView is used. In this case only TaskPanelStackData.stackedPanels are attached and TaskPanelStackData.taskProcessPanel is ignored and not attached.
If subContainerLayoutId is not null
, the TaskPanelStackData.stackedPanels are attached to a panel fragment container with Android view ID ttivi_systemui_taskpanel_subcontainer_taskpanels_stub_id
.
The TaskPanelStackData.taskProcessPanel, if any, is attached to a panel fragment container with Android view ID ttivi_systemui_taskpanel_subcontainer_taskprocesspanel_stub_id
. If it is not found or if ttivi_systemui_taskpanel_subcontainer_taskpanels_stub_id
is not found the TaskPanelStackData.taskProcessPanel is ignored and not attached.
Parameters
The CommonPanelContext configurator for TaskProcessPanels. The receiver can be used to configure the CommonPanelContext created for TaskProcessPanels. The configurator is invoked each time a panel context is created for a TaskProcessPanel. A panel context is created when a panel is attached to a panel sub-container. The panel is provided as argument to the configurator.
Constructors
Inherited functions
Creates a new panel sub-container. If getNewSubContainerData returned a non-empty collection, this method is called for each item in the collection.
Determines if new panel sub-containers should be created, based on panelContainerViewModel.
Updates the panel sub-container data associated to the existing panel sub-container view models.
Whether the panel sub-container exit of the given subContainerViewModel is allowed.