MentionListState

data class MentionListState(    val isLoading: Boolean,     val results: List<MessageResult>,     nextPage: String?,     val canLoadMore: Boolean,     val isLoadingMore: Boolean)

The state of the mention list on which the UI should be rendered.

Parameters

isLoading

True if the initial loading is in progress.

results

The list of mentions to be displayed.

nextPage

The next page token to be loaded (Internal usage only)

canLoadMore

True if there are more mentions to be loaded.

isLoadingMore

True if the loading of the next page is in progress.

Constructors

Link copied to clipboard
constructor(isLoading: Boolean, results: List<MessageResult>, nextPage: String?, canLoadMore: Boolean, isLoadingMore: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard