InputHistoryState

data class InputHistoryState(val loading: Boolean = true, val loadingNextPage: Boolean = false, val items: List<InputHistoryItemUi> = emptyList(), val nextPage: Int = 0, val canLoadMore: Boolean = true, val error: String? = null) : MviState(source)

Carries InputHistoryState data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, loadingNextPage: Boolean = false, items: List<InputHistoryItemUi> = emptyList(), nextPage: Int = 0, canLoadMore: Boolean = true, error: String? = null)

Properties

Link copied to clipboard

Exposes the canLoadMore value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the error value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the items value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loading value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loadingNextPage value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the nextPage value used by the SDAI presentation layer.