addEntryProvider
Builds a NavEntry for the given key that displays content.
Parameters
key for this entry
provides information to the display
content for this entry to be displayed when this entry is active
Type Parameters
the type of the key for this NavEntry
Builds a NavEntry for the given key that displays content.
Parameters
key for this entry
lambda that takes the key and provides a map of additional info
content for this entry to be displayed when this entry is active
Type Parameters
the type of the key for this NavEntry
Builds a NavEntry for the given clazz that displays content.
Parameters
the KClass
A factory of unique, stable ids that uniquely identifies the content of this NavEntry. To maximize stability, it should be derived from the factory's provided key. The resulting key must be saveable (i.e. on Android, it should be saveable via Android). The generated key will be stored in NavEntry.contentKey.
provides information to the display
content for this entry to be displayed when this entry is active
Type Parameters
the type of the key for this NavEntry
Builds a NavEntry for the given clazz that displays content.
Parameters
the KClass
A factory of unique, stable ids that uniquely identifies the content of this NavEntry. To maximize stability, it should be derived from the factory's provided key. The resulting key must be saveable (i.e. on Android, it should be saveable via Android). The generated key will be stored in NavEntry.contentKey.
lambda that takes the key and provides a map of additional info
content for this entry to be displayed when this entry is active
Type Parameters
the type of the key for this NavEntry