MessageListComponent

This class creates and performs a view corresponding the message list area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
Constructor since 3.0.

Types

Link copied to clipboard
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
Returns a collection of parameters applied to this component.
Link copied to clipboard
open fun notifyChannelChanged(@NonNull channel: GroupChannel)
Handles a new channel when data has changed.
Link copied to clipboard
open fun onFormSubmitButtonClicked(@NonNull message: BaseMessage, @NonNull form: MessageForm)
Called when the form submit button is clicked.
Link copied to clipboard
protected open fun onListItemClicked(@NonNull view: View, @NonNull identifier: String, position: Int, @NonNull message: BaseMessage)
Called when the message item is clicked.
Link copied to clipboard
protected open fun onListItemLongClicked(@NonNull view: View, @NonNull identifier: String, position: Int, @NonNull message: BaseMessage)
Called when the message item is long-clicked.
Link copied to clipboard
open fun onMessageTemplateActionTriggered(@NonNull view: View, @NonNull action: Action, @NonNull message: BaseMessage)
Called when a message template action is triggered.
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 onSuggestedRepliesClicked(@NonNull view: View, position: Int, @NonNull suggestedReply: String)
Called when the suggested replies button 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
Sets the message list adapter to provide child views on demand.
Link copied to clipboard
Register a callback to be invoked when the button to submit the form is clicked.
Link copied to clipboard
Register a callback to be invoked when a message template action is clicked.
Link copied to clipboard
open fun setOnQuoteReplyMessageClickListener(@Nullable quoteReplyMessageClickListener: OnItemClickListener<BaseMessage>)
Register a callback to be invoked when the quoted message is clicked.
Link copied to clipboard
open fun setOnQuoteReplyMessageLongClickListener(@Nullable quoteReplyMessageLongClickListener: OnItemLongClickListener<BaseMessage>)
Register a callback to be invoked when the quoted message is long-clicked.
Link copied to clipboard
open fun setOnThreadInfoClickListener(@Nullable threadInfoClickListener: OnItemClickListener<BaseMessage>)
Register a callback to be invoked when the thread info is clicked.
Link copied to clipboard
open fun setSuggestedRepliesClickListener(@Nullable suggestedRepliesClickListener: OnItemClickListener<String>)
Register a callback to be invoked when the suggested replies button is clicked.