RegistryEntry

data class RegistryEntry(val keyClass: KClass<*>, val rootKeyClass: KClass<*>, val serializer: KSerializer<*>, val screen: ActivityScreen<*>)

A registered screen entry produced by addEntry.

Constructors

Link copied to clipboard
constructor(keyClass: KClass<*>, rootKeyClass: KClass<*>, serializer: KSerializer<*>, screen: ActivityScreen<*>)

Properties

Link copied to clipboard

Runtime KClass of the specific NavKey subtype handled by screen (e.g. WizardStep.SelectRole::class).

Link copied to clipboard

Runtime KClass of the sealed root type that keyClass belongs to (e.g. WizardStep::class). Used by the typed NavEaseHost overload to filter entries for a specific nav-graph root.

Link copied to clipboard

ActivityScreen instance registered for this key.

Link copied to clipboard
val serializer: KSerializer<*>

KSerializer for the NavKey subtype.