Package fi.moprim.tmd.sdk.data
Class RefreshLiveData<T>
- java.lang.Object
-
- androidx.lifecycle.LiveData<T>
-
- androidx.lifecycle.MutableLiveData<T>
-
- androidx.lifecycle.MediatorLiveData<T>
-
- fi.moprim.tmd.sdk.data.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
-
-
-
-
Method Detail
-
refresh
public void refresh()
-
refresh
public abstract void refresh(@NonNull RefreshMode refreshMode)
-
-