Package io.getstream.chat.android.ui.viewmodel.messages
See: Description
-
Class Summary Class Description ChannelHeaderViewModel ViewModel class for ChannelHeaderView. Builder ChannelViewModelFactory A ViewModel factory for MessageListViewModel, ChannelHeaderViewModel and MessageComposerViewModel. 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. 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. OpenThread When the user opens an existing thread. ToggleOriginalText When the user wants to toggle the original text of a message (if auto-translation is enabled). 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. FlagUser Event for flagging a user. UnflagUser Event for flagging a 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. BlockUser Block a user. UnblockUser Unblock a user. PollOptionUpdated When the user updates a poll option. PollClosed When the user closes a poll. PollOptionSuggested When the user suggests a new option for a poll. PollAnswerCast When the user casts a free-text answer / comment on a poll. Event Represents events coming from the View class. MessageListViewModel View model class for MessageListView. Factory Factory for creating PollResultsViewModel instances. PollResultsViewModel ViewModel for managing poll results state in XML UI components. ChannelHeaderViewModelBinding MessageComposerViewModelBinding MessageListViewModelBinding -
Object Summary Object Description Companion 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.