createSinglePanelStackFrontendCoordinationRule
inline fun <P : AnyPanel, S : PanelStackData<P>> createSinglePanelStackFrontendCoordinationRule(activeStack: LiveData<S>): SinglePanelStackFrontendCoordinationRule<P, S>
A convenience function for creating a new SinglePanelStackFrontendCoordinationRule instance. Using this function, the KClass that the main class asks for can be inferred through the reified generic type P.
Parameters
S
The type of the PanelStackData.
activeStack
The PanelStackData to observe in order to close other Frontends' Panels.