public class DevicesViewModel extends BaseRepoViewModel<DeviceRepo>
| Modifier and Type | Field and Description |
|---|---|
private androidx.lifecycle.MediatorLiveData<java.util.List<Device>> |
devices
Device list
|
mRepo, TAG| Constructor and Description |
|---|
DevicesViewModel(android.app.Application app) |
| Modifier and Type | Method and Description |
|---|---|
androidx.lifecycle.LiveData<java.util.List<Device>> |
getDevices() |
void |
refreshList() |
getErrorMsg, getInfoMessage, getIsWorking, initRepo, onCleared, postErrorMsg, postInfoMessage, postIsWorking, setErrorMsg, setInfoMessage, setIsWorking