FrontendNavAppComponentsDisplayManager

Types

Link copied to clipboard
object Companion

Inherited properties

Link copied to clipboard
open override val lifecycle: Lifecycle
Link copied to clipboard
open override val navigator: Deferred<Navigator>

Functions

Link copied to clipboard

Returns a flow indicating whether any Panel is visible.

Link copied to clipboard
fun observeVisualStateRequests(): Flow<Navigator.ComponentVisualStateRequest>

Returns a Flow of Navigator.ComponentVisualStateRequests that are used to resize Panels if needed.

Link copied to clipboard
fun panelUpdates(): Flow<Navigator.PanelsUpdate>

Returns a Flow of Navigator.PanelsUpdates that are expected for componentTags.

Inherited functions

Link copied to clipboard
open override fun expectContainerFor(componentTag: ComponentTag)

Indicates that a container is expected to become available for ComponentTag, causing the display manager to wait for that before signalling to NavApp that it's ready to start.

Link copied to clipboard
open override fun registerContainerFragment(fragment: Fragment, savedInstanceState: Bundle?, tagToContainerId: Map<ComponentTag, Int>): PanelToFragmentAdapter

Registers the given fragment as a container for the NavApp components, allowing NavApp to retrieve containers based on the tagToContainerId mapping.