ViewStateStore wraps a LiveData for deliver ViewStates to the UI.
Supported ViewState types are:
- Success: holds the real data
 - Error: holds and error ( which could be a custom class ) with its Throwable and an optional customMessageRes.
 - Loading
 - None (default initial value)
 
It also supports Android's Paging.
from The Android Arsenal
No comments:
Post a Comment