public class LabelsViewModel extends BaseRepoViewModel<MainRepo>
Modifier and Type | Field and Description |
---|---|
private androidx.lifecycle.MediatorLiveData<java.util.List<Label>> |
labels
Labels list
|
mRepo, TAG
Constructor and Description |
---|
LabelsViewModel(android.app.Application app) |
Modifier and Type | Method and Description |
---|---|
androidx.lifecycle.MutableLiveData<java.util.List<Label>> |
getLabels() |
protected void |
initRepo() |
getErrorMsg, getInfoMessage, getIsWorking, onCleared, postErrorMsg, postInfoMessage, postIsWorking, setErrorMsg, setInfoMessage, setIsWorking
private final androidx.lifecycle.MediatorLiveData<java.util.List<Label>> labels
protected void initRepo()
initRepo
in class BaseRepoViewModel<MainRepo>
public androidx.lifecycle.MutableLiveData<java.util.List<Label>> getLabels()