public class AgencyViewModel extends ViewModel implements LifecycleObserver
| Constructor and Description |
|---|
AgencyViewModel() |
| Modifier and Type | Method and Description |
|---|---|
LiveData<List<Agency>> |
getAgencies() |
LiveData<Agency> |
getAgency() |
LiveData<Service> |
getService() |
LiveData<List<Service>> |
getServices() |
LiveData<Throwable> |
getThrowable() |
void |
refreshAgencies() |
void |
refreshServices() |
void |
remove(Agency agency) |
void |
save(Agency agency) |
void |
setAgencyId(UUID id) |