BasicObservable
interface BasicObservable<R : T, T, OO : ObservableOptional<R>> : ReadOnlyProperty<Any?, OO> , Initial<R, T>
A read-only property that can be observed.
Parameters
T
the type of value to expect.
R
the type of result to expect. Must be a subclass of T.
OO
the type of ObservableOptional to store the result in.
Inheritors
Properties
Link copied to clipboard
The current value T or null
being observed
Link copied to clipboard
The initial ObservableOptional value of T.
Functions
Link copied to clipboard
Creates an observation that calls onNext each time a new value is observed until the resulting Disposable is disposed
Link copied to clipboard
fun <R : T, T> ReadOnlyProperty<Any?, T?>.toDefaultObservable(defaultValue: R): ReadOnlyPropertyDefaultObservable<R, T?>
Converts a ReadOnlyProperty into a ReadOnlyPropertyDefaultObservable
Link copied to clipboard
fun <T> ReadOnlyProperty<Any?, T>.toInitializedObservable(): ReadOnlyPropertyInitializedObservable<T>
Converts a ReadOnlyProperty into a ReadOnlyPropertyInitializedObservable