State Value
class StateValue<T : Any>(handle: SavedStateHandle, key: String, serializer: KSerializer<T>, json: Json = Json, default: T? = null) : ReadWriteProperty<Any?, T?> (source)
Serialized property delegate. Bind a property or supply a key before calling flow.
Constructors
Link copied to clipboard
constructor(handle: SavedStateHandle, key: String, serializer: KSerializer<T>, json: Json = Json, default: T? = null)
Types
Functions
Link copied to clipboard
Supplies a nullable fallback on reads and observation, without writing it to the handle.
Link copied to clipboard
Resolves an implicit key once, when the property is declared.
Link copied to clipboard
Supplies a non-null fallback on reads and observation, without writing it to the handle.