Package 

Class ChannelListHeaderViewModel

    • Method Summary

      Modifier and Type Method Description
      final LiveData<User> getCurrentUser() The user who is currently logged in.
      final LiveData<ConnectionState> getConnectionState() The state of the connection for the user currently logged in.
      • Methods inherited from class io.getstream.chat.android.ui.viewmodel.channels.ChannelListHeaderViewModel

        addCloseable, addCloseable, addCloseable, getCloseable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelListHeaderViewModel

        ChannelListHeaderViewModel(ClientState clientState)
        Parameters:
        clientState - Client state of SDK that contains information such as the current user and connection state.
      • ChannelListHeaderViewModel

        ChannelListHeaderViewModel()