Channel Fragment
Fragment that provides chat in GroupChannel
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Make context menu items that are shown when the message is long clicked.
Link copied to clipboard
Find the same message as the message ID and move it to the matching message.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: ChannelModule, @NonNull viewModel: ChannelViewModel)
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
protected open fun onBindChannelHeaderComponent(@NonNull headerComponent: ChannelHeaderComponent, @NonNull viewModel: ChannelViewModel, @Nullable channel: GroupChannel)
Called to bind events to the ChannelHeaderComponent.
Link copied to clipboard
protected open fun onBindMessageInputComponent(@NonNull inputComponent: MessageInputComponent, @NonNull viewModel: ChannelViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MessageInputComponent.
Link copied to clipboard
protected open fun onBindMessageListComponent(@NonNull messageListComponent: MessageListComponent, @NonNull viewModel: ChannelViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MessageListComponent and also bind ChannelViewModel.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: ChannelViewModel, @Nullable channel: GroupChannel)
Called to bind events to the StatusComponent.
Link copied to clipboard
Called to do initial creation of a module.
Link copied to clipboard
Called to do initial creation of a view model.
Link copied to clipboard
protected open fun onFeedbackRatingClicked(@NonNull message: BaseMessage, @NonNull feedbackRating: FeedbackRating)
Called when the feedback rating of the message is clicked.
Link copied to clipboard
protected open fun onFormSubmitButtonClicked(@NonNull message: BaseMessage, @NonNull form: MessageForm)
Called when the Form submit button is clicked.
Link copied to clipboard
protected open fun onMessageContextMenuItemClicked(@NonNull message: BaseMessage, @NonNull view: View, position: Int, @NonNull item: DialogListItem): Boolean
It will be called when the message context menu was clicked.
Link copied to clipboard
protected open fun onQuoteReplyMessageClicked(@NonNull view: View, position: Int, @NonNull message: BaseMessage)
Called when the quoted message of the message is clicked.
Link copied to clipboard
protected open fun onQuoteReplyMessageLongClicked(@NonNull view: View, position: Int, @NonNull message: BaseMessage)
Called when the quoted message of the message is long-clicked.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: ChannelModule, @NonNull viewModel: ChannelViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
Called when the a suggested replies view is clicked
Link copied to clipboard
protected open fun onThreadInfoClicked(@NonNull view: View, position: Int, @NonNull message: BaseMessage)
Called when the thread info of the message is clicked.
Link copied to clipboard