ClosePanelsOnTaskPanelChangeFrontendCoordinationRule

A rule that ensures Panels of type P are closed when the active TaskPanels change.

Parameters

P

The type of the Panels to close when the activeTaskPanelStackData changes.

panelClass

The KClass of the Panels to close when the activeTaskPanelStackData changes.

activeTaskPanelStackData

The TaskPanelStackData to observe in order to close Panels of type P.

Constructors

Functions

Link copied to clipboard
open override fun activate(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)

Actives the rule within the scope of the given lifecycleOwner.

Inheritors