features/characters_favorites / com.vmadalin.dynamicfeatures.charactersfavorites.ui.favorite / CharactersFavoriteViewState

CharactersFavoriteViewState

sealed class CharactersFavoriteViewState : BaseViewState

Different states for CharactersFavoriteFragment.

See Also

BaseViewState

Types

Empty

No favorite characters to display.

object Empty : CharactersFavoriteViewState

Listed

Favorite characters displayed.

object Listed : CharactersFavoriteViewState

Functions

isEmpty

Check if current view state is Empty.

fun isEmpty(): Boolean

isListed

Check if current view state is Listed.

fun isListed(): Boolean