Class

DialogSceneStrategy

A SceneStrategy that displays entries that have added dialog to their NavEntry.metadata within a Dialog instance.

Source set: Common
public class DialogSceneStrategy<T : Any>() : SceneStrategy<T>

A SceneStrategy that displays entries that have added dialog to their NavEntry.metadata within a Dialog instance.

This strategy should always be added before any non-overlay scene strategies.

Members

Companion

Source set: Common
public companion object

Functions

dialog

Source set: Common
public fun dialog(
            dialogProperties: DialogProperties = DialogProperties()
        ): Map<String, Any>

Function to be called on the NavEntry.metadata to mark this entry as something that should be displayed within a Dialog.

Parameters

dialogProperties properties that should be passed to the containing Dialog.

Members

DialogKey

Source set: Common
public object DialogKey : NavMetadataKey<DialogProperties>

The key for NavEntry.metadata or Scene.metadata to indicate that an entry should be displayed within a Dialog.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: