DataState
Model that view models create for UI components to observe on
Parameters
model
LiveData for the UI to observe
loadState
Load status to show to the user this value is importantly only when refresh is requested
refresh
Refreshes & invalidates underlying data source fetches it from scratch.
retry
Retries any failed requests.