MentionListState
data class MentionListState(val isLoading: Boolean = true, val results: List<MessageResult> = emptyList(), nextPage: String? = null, val canLoadMore: Boolean = true, val isLoadingMore: Boolean = false, val isRefreshing: Boolean = false)
The state of the mention list on which the UI should be rendered.
Parameters
isLoading
True if the initial loading is in progress. Defaults to true.
results
The list of mentions to be displayed. Defaults to an empty list.
nextPage
The next page token to be loaded (Internal usage only). Defaults to null.
canLoadMore
True if there are more mentions to be loaded. Defaults to true.
isLoadingMore
True if the loading of the next page is in progress. Defaults to false.
isRefreshing
True if the mention list is being refreshed. Defaults to false.