Package io.getstream.chat.android.ui.viewmodel.messages
See: Description
-
Class Summary Class Description MessageComposerViewModel ViewModel responsible for handling the composing and sending of messages. MessageComposerViewModelBinder A binder class responsible for binding the MessageComposerViewModel with the user interface components. MessageListHeaderViewModel ViewModel class for MessageListHeaderView. Result Signifies that the messages have successfully loaded. State The current state of the message list. BottomEndRegionReached When the newest loaded message in the list has been reached and there's still newer messages to be loaded. ThreadModeEntered When the users enters thread mode. DeleteMessage When the user deletes a message. FlagMessage When the user flags a message. PinMessage When the user pins a message. UnpinMessage When the user unpins a message. MarkAsUnreadMessage When the user marks a message as unread. GiphyActionSelected When the user selects a Giphy message. RetryMessage Retry sending a message that has failed to send. MessageReaction When the user leaves a reaction to a message. MuteUser When the user mutes a user. UnmuteUser When the user unmutes a user. BanUser When the user bans another user. UnbanUser When the user unbans another user. ShadowBanUser When the user shadow bans another user. RemoveShadowBanFromUser When the user removes the shadow ban from another user. ReplyMessage When the user replies to a message. ReplyAttachment When the user is replying to a single attachment. DownloadAttachment When the user downloads an attachment. ShowMessage When we need to display a particular message to the user. RemoveAttachment When the user removes an attachment from a message that was previously sent. HideUnreadLabel When the Unread Label Button should be hidden. Event Represents events coming from the View class. MessageListViewModel View model class for MessageListView. Builder MessageListViewModelFactory A ViewModel factory for MessageListViewModel, MessageListHeaderViewModel and MessageComposerViewModel. MessageComposerViewModelBinding MessageListHeaderViewModelBinding MessageListViewModelBinding -
Object Summary Object Description Loading Signifies that the message list is loading. NavigateUp Signals that the View should navigate back. BackButtonPressed When the back button is pressed. EndRegionReached When the oldest loaded message in the list has been reached. LastMessageRead When the newest message in the channel has been read.