createSinglePanelStackFrontendCoordinationRule

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

P

The type of Panel to close in other Frontend when the stack is taken over by another Frontend.

S

The type of the PanelStackData.

activeStack

The PanelStackData to observe in order to close other Frontends' Panels.