Class RefreshLiveData<T>


  • public abstract class RefreshLiveData<T>
    extends androidx.lifecycle.MediatorLiveData<T>
    A class to provide LiveData with a possibility to refresh the data
    • Constructor Summary

      Constructors 
      Constructor Description
      RefreshLiveData()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void refresh()  
      abstract void refresh​(RefreshMode refreshMode)  
      • Methods inherited from class androidx.lifecycle.MediatorLiveData

        addSource, onActive, onInactive, removeSource
      • Methods inherited from class androidx.lifecycle.MutableLiveData

        postValue, setValue
      • Methods inherited from class androidx.lifecycle.LiveData

        getValue, hasActiveObservers, hasObservers, observe, observeForever, removeObserver, removeObservers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RefreshLiveData

        public RefreshLiveData()
    • Method Detail

      • refresh

        public void refresh()
      • refresh

        public abstract void refresh​(@NonNull
                                     RefreshMode refreshMode)