CloseExpandedProcessPanelsOnTaskPanelChangeFrontendCoordinationRule
class CloseExpandedProcessPanelsOnTaskPanelChangeFrontendCoordinationRule(activeTaskPanelStackData: LiveData<TaskPanelStackData>) : ClosePanelsOnTaskPanelChangeFrontendCoordinationRule<ExpandedProcessPanel>
Content copied to clipboard
A rule that ensures ExpandedProcessPanels are closed when the active TaskPanels change.
This prevents newly opened TaskPanels from being hidden by an ExpandedProcessPanel hovering above it and avoids lingering ExpandedProcessPanels after the TaskPanelStackData closes.
Parameters
activeTaskPanelStackData
The TaskPanelStackData to observe in order to close ExpandedProcessPanels.
Constructors
Link copied to clipboard
fun CloseExpandedProcessPanelsOnTaskPanelChangeFrontendCoordinationRule(panelRegistry: IviPanelRegistry)
Content copied to clipboard
A convenience constructor that extracts the default TaskPanelStackData from the given panelRegistry.
Link copied to clipboard
fun CloseExpandedProcessPanelsOnTaskPanelChangeFrontendCoordinationRule(activeTaskPanelStackData: LiveData<TaskPanelStackData>)
Content copied to clipboard
Inherited functions
Link copied to clipboard
open override fun activate( lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)
Content copied to clipboard
Actives the rule within the scope of the given lifecycleOwner.