MentionListState

constructor(isLoading: Boolean = true, results: List<MessageResult> = emptyList(), nextPage: String? = null, canLoadMore: Boolean = true, isLoadingMore: Boolean = false, isRefreshing: Boolean = false)

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.