-
public class QueryChannelsController.ChannelsState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classQueryChannelsController.ChannelsState.NoQueryActiveThe QueryChannelsController is initialized but no query is currently running. If you know that a query will be started you typically want to display a loading icon.
public classQueryChannelsController.ChannelsState.LoadingIndicates we are loading the first page of results. We are in this state if QueryChannelsController.loading is true For seeing if we're loading more results have a look at QueryChannelsController.loadingMore
public classQueryChannelsController.ChannelsState.OfflineNoResultsIf we are offline and don't have channels stored in offline storage, typically displayed as an error condition.
public final classQueryChannelsController.ChannelsState.ResultThe list of channels, loaded either from offline storage or an API call. Observe chatDomain.online to know if results are currently up to date
-