-
public final class MentionListStateThe state of the mention list on which the UI should be rendered.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisLoadingprivate final List<MessageResult>resultsprivate final BooleancanLoadMoreprivate final BooleanisLoadingMoreprivate final BooleanisRefreshing
-
Constructor Summary
Constructors Constructor Description MentionListState(Boolean isLoading, List<MessageResult> results, String nextPage, Boolean canLoadMore, Boolean isLoadingMore, Boolean isRefreshing)
-
Method Summary
Modifier and Type Method Description final BooleangetIsLoading()final List<MessageResult>getResults()final BooleangetCanLoadMore()final BooleangetIsLoadingMore()final BooleangetIsRefreshing()-
-
Constructor Detail
-
MentionListState
MentionListState(Boolean isLoading, List<MessageResult> results, String nextPage, Boolean canLoadMore, Boolean isLoadingMore, Boolean isRefreshing)
- 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.isRefreshing- True if the mention list is being refreshed.
-
-
Method Detail
-
getIsLoading
final Boolean getIsLoading()
-
getResults
final List<MessageResult> getResults()
-
getCanLoadMore
final Boolean getCanLoadMore()
-
getIsLoadingMore
final Boolean getIsLoadingMore()
-
getIsRefreshing
final Boolean getIsRefreshing()
-
-
-
-