BaseSubject
An abstract class that extends AbstractBaseSubject.
Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
The Observation to handle observing the value.
A function to get the StateFlow that will automatically call SuspendableSetter.set when a new value is posted after BasicSubject.post has been called.
An abstract class that extends AbstractBaseSubject.
Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
The Observation to handle observing the value.
A function to get the StateFlow that will automatically call SuspendableSetter.set when a new value is posted after BasicSubject.post has been called.
Inheritors
An abstract class that extends AbstractBaseSubject.
Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
The Observation to handle observing the value.
A function to get the StateFlow that will automatically call SuspendableSetter.set when a new value is posted after BasicSubject.post has been called.
An abstract class that extends AbstractBaseSubject.
Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
The Observation to handle observing the value.
A function to get the StateFlow that will automatically call SuspendableSetter.set when a new value is posted after BasicSubject.post has been called.
An abstract class that extends AbstractBaseSubject.
Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
The Observation to handle observing the value.
A function to get the StateFlow that will automatically call SuspendableSetter.set when a new value is posted after BasicSubject.post has been called.
Constructors
Properties
The initial ObservableOptional value of T.
The initial ObservableOptional value of T.
The initial ObservableOptional value of T.
The initial ObservableOptional value of T.
The Observer that observes the observable value.
The MutableLiveData synchronizing the value of the subject.
Functions
Bind changes in value to a CoroutineScope in a CoroutineContext
Bind changes in value to a CoroutineScope in a CoroutineContext
Bind changes in value to a CoroutineScope in a CoroutineContext
Bind changes in value to a CoroutineScope in a CoroutineContext
Convenience method for BasicSubject that calls BasicSubject.bind using the CoroutineContext of the provided CoroutineScope
Gets an Observer to observe changes to this subject.
Creates an observation that calls onNext each time a new value is observed until the resulting Disposable is disposed
Creates an observation that calls onNext each time a new value is observed until the resulting Disposable is disposed
Creates an observation that calls onNext each time a new value is observed until the resulting Disposable is disposed
Creates an observation that calls onNext each time a new value is observed until the resulting Disposable is disposed
Converts a ReadOnlyProperty into a ReadOnlyPropertyDefaultObservable
Converts a ReadOnlyProperty into a ReadOnlyPropertyInitializedObservable