sealed class CharactersListViewState : BaseViewState
Different states for CharactersListFragment.
See Also
AddError |
Error on add more elements into characters list. object AddError : CharactersListViewState |
AddLoading |
Loading on add more elements into characters list. object AddLoading : CharactersListViewState |
Empty |
Empty characters list. object Empty : CharactersListViewState |
Error |
Error on loading characters list. object Error : CharactersListViewState |
Loaded |
Loaded characters list. object Loaded : CharactersListViewState |
Loading |
Loading characters list. object Loading : CharactersListViewState |
NoMoreElements |
No more elements for adding into characters list. object NoMoreElements : CharactersListViewState |
Refreshing |
Refreshing characters list. object Refreshing : CharactersListViewState |
isAddError |
Check if current view state is AddError. fun isAddError(): Boolean |
isAddLoading |
Check if current view state is AddLoading. fun isAddLoading(): Boolean |
isEmpty |
Check if current view state is Empty. fun isEmpty(): Boolean |
isError |
Check if current view state is Error. fun isError(): Boolean |
isLoaded |
Check if current view state is Loaded. fun isLoaded(): Boolean |
isLoading |
Check if current view state is Loading. fun isLoading(): Boolean |
isNoMoreElements |
Check if current view state is NoMoreElements. fun isNoMoreElements(): Boolean |
isRefreshing |
Check if current view state is Refreshing. fun isRefreshing(): Boolean |