Package 

Class ChannelController.MessagesState

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class ChannelController.MessagesState.NoQueryActive

      The ChannelController 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 class ChannelController.MessagesState.Loading

      Indicates we are loading the first page of results. We are in this state if ChannelController.loading is true For seeing if we're loading more results have a look at loadingNewerMessages and loadingOlderMessages

      public class ChannelController.MessagesState.OfflineNoResults

      If we are offline and don't have channels stored in offline storage, typically displayed as an error condition.

      public final class ChannelController.MessagesState.Result

      The list of messages, loaded either from offline storage or an API call. Observe chatDomain.online to know if results are currently up to date

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class io.getstream.chat.android.livedata.controller.ChannelController.MessagesState

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait