Message Thread Fragment
Fragment that provides thread list of the parent message since 3.3.0
Types
Functions
Link copied to clipboard
Returns the parent message to use this fragment.
Link copied to clipboard
Make context menu items that are shown when the message is long clicked.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: MessageThreadModule, @NonNull viewModel: MessageThreadViewModel)
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 onBindMessageInputComponent(@NonNull inputComponent: MessageInputComponent, @NonNull viewModel: MessageThreadViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MessageInputComponent.
Link copied to clipboard
protected open fun onBindMessageThreadHeaderComponent(@NonNull headerComponent: MessageThreadHeaderComponent, @NonNull viewModel: MessageThreadViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MessageThreadHeaderComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: MessageThreadViewModel, @Nullable channel: GroupChannel)
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onBindThreadListComponent(@NonNull messageListComponent: ThreadListComponent, @NonNull viewModel: MessageThreadViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MessageListComponent and also bind ChannelViewModel.
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 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 onParentMessageMenuClicked(@NonNull view: View, position: Int, @NonNull message: BaseMessage)
Called when the parent message menu is clicked.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: MessageThreadModule, @NonNull viewModel: MessageThreadViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
Link copied to clipboard
Finishes the activity that has the current fragment.