ListState

open class ListState<ListModel>(var loading: Boolean = true, val data: MutableList<ListModel> = mutableListOf(), val error: Throwable? = null)

Inheritors

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, data: MutableList<ListModel> = mutableListOf(), error: Throwable? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open val error: Throwable? = null
Link copied to clipboard
open var loading: Boolean