SingleValueNavigationSpec
class SingleValueNavigationSpec<T>(type: NavigationBundleSpecType<T>) : NavigationBundleSpec<SingleValueNavigationSpec.Row<T>>
A NavigationBundleSpec that only provides a single NavigationBundleSpecRow
Parameters
T
The type of value stored in this spec.
type
The NavigationBundleSpecType used for the NavigationBundleSpecRow
Types
Link copied to clipboard
A NavigationBundleSpecRow that contains only a single value.
Properties
Link copied to clipboard
The set of rows in this NavigationBundleSpec.
Functions
Link copied to clipboard
fun <R : NavigationBundleSpecRow<*>> NavigationBundleSpec<R>.toBundle(mapper: (R) -> NavigationBundleValue<*>): NavigationBundle<R>
Creates a NavigationBundle from the NavigationBundleSpec