Currently, the list is just empty after failure to download pantries (due to networking issue, wifi turned off, etc). We need to add an Error view and functionality to retry. We should also use LiveData<Resource<T>> to add onFailure() functionality and more.
Currently, the list is just empty after failure to download pantries (due to networking issue, wifi turned off, etc). We need to add an Error view and functionality to retry. We should also use
LiveData<Resource<T>>
to addonFailure()
functionality and more.