sealed class CharactersListAdapterState
Different states for CharactersListAdapter.
See Also
Added |
Listed the added characters into list. object Added : CharactersListAdapterState |
AddError |
Error on add new characters into list. object AddError : CharactersListAdapterState |
AddLoading |
Loading for new characters to add into list. object AddLoading : CharactersListAdapterState |
NoMore |
No more characters to add into list. object NoMore : CharactersListAdapterState |
hasExtraRow |
val hasExtraRow: Boolean |
isAdded |
Check if current view state is Added. fun isAdded(): Boolean |
isAddError |
Check if current view state is AddError. fun isAddError(): Boolean |
isAddLoading |
Check if current view state is AddLoading. fun isAddLoading(): Boolean |
isNoMore |
Check if current view state is NoMore. fun isNoMore(): Boolean |