-
public final class SingleLiveEvent<T extends Object> extends MutableLiveData<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSingleLiveEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ObjectmDataLockprivate final IntegermActiveCountprivate final ObjectmPendingData
-
Constructor Summary
Constructors Constructor Description SingleLiveEvent()
-
Method Summary
Modifier and Type Method Description Unitobserve(LifecycleOwner owner, Observer<in T> observer)UnitsetValue(T t)final Unitcall()-
Methods inherited from class androidx.lifecycle.MutableLiveData
changeActiveCounter, dispatchingValue, getValue, getVersion, hasActiveObservers, hasObservers, observeForever, onActive, onInactive, removeObserver, removeObservers -
Methods inherited from class dev.teogor.ceres.components.events.SingleLiveEvent
postValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
observe
@MainThread() Unit observe(LifecycleOwner owner, Observer<in T> observer)
-
setValue
@MainThread() Unit setValue(T t)
-
call
@MainThread() final Unit call()
-
-
-
-