features/characters_list / com.vmadalin.dynamicfeatures.characterslist.ui.list.adapter / CharactersListAdapterState

CharactersListAdapterState

sealed class CharactersListAdapterState

Different states for CharactersListAdapter.

See Also

BaseViewState

Types

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

Properties

hasExtraRow

val hasExtraRow: Boolean

Functions

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