T
- valueE
- change-valuepublic interface ChangeableValue<T,E> extends DynamicValue<T>
DynamicValue
a value that can also be changed (e.g. like a value in
SharedPreferences
. Returned value and change value might be of different
types (e.g value is the whole Object, change-value just the id).DynamicValue.Async<T>, DynamicValue.DefaultStaticValue<T>
Modifier and Type | Method and Description |
---|---|
void |
onChange(E value)
Given a value change the internal status.
|
getValue
void onChange(E value)
DynamicValue.getValue()
returns.value
- to change to