Uses of Class
io.reactivex.rxjava3.subjects.BehaviorSubject
Packages that use BehaviorSubject
Package
Description
Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
the respective consumer type at once to allow forms of multicasting events to multiple
consumers as well as consuming another base reactive type of their kind.
-
Uses of BehaviorSubject in io.reactivex.rxjava3.subjects
Methods in io.reactivex.rxjava3.subjects that return BehaviorSubjectModifier and TypeMethodDescriptionstatic <T> @NonNull BehaviorSubject<T> BehaviorSubject.create()Creates aBehaviorSubjectwithout a default item.static <@NonNull T>
@NonNull BehaviorSubject<T> BehaviorSubject.createDefault(@NonNull T defaultValue) Creates aBehaviorSubjectthat emits the last item it observed and all subsequent items to eachObserverthat subscribes to it.