Package 

Class MutableLiveEvent

    • Method Summary

      Modifier and Type Method Description
      Unit observe(LifecycleOwner owner, Observer<in T> observer) Similar to LiveData.observe adds the given observer to the observers list within the lifespan of the given owner.
      Unit setValue(T value) Similar to LiveData.setValue but ensures data is only delivered during an explicit call.
      Unit postValue(T value) Similar to LiveData.postValue.
      final Unit call() Used for cases where T is Void, to make calls cleaner.
      • Methods inherited from class com.alfresco.auth.data.LiveEvent

        changeActiveCounter, dispatchingValue, getValue, getVersion, hasActiveObservers, hasObservers, observeForever, onActive, onInactive, removeObserver, removeObservers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait