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.

Companion Object

Methods

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.

Last updated: