SinglePanelStackFrontendCoordinationRule
fun <P : AnyPanel, S : PanelStackData<P>> SinglePanelStackFrontendCoordinationRule(panelClass: KClass<P>, activeStack: LiveData<S>)
Parameters
P
The type of the Panels to close when the Frontend owning the activeStack changes
S
The type of the PanelStackData.
panelClass
The KClass of the Panels to close when the Frontend owning the activeStack changes.
activeStack
The PanelStackData to observe in order to close other Frontends' Panels.