MessageListAdapter

MessageListAdapter provides a binding from a BaseMessage type data set to views that are displayed within a RecyclerView.

Constructors

Link copied to clipboard
open fun MessageListAdapter(useMessageGroupUI: Boolean)
Link copied to clipboard
open fun MessageListAdapter(@Nullable channel: GroupChannel)
Link copied to clipboard
open fun MessageListAdapter(@Nullable channel: GroupChannel, useMessageGroupUI: Boolean)
Link copied to clipboard
open fun MessageListAdapter(@Nullable channel: GroupChannel, @NonNull messageListUIParams: MessageListUIParams)

Functions

Link copied to clipboard
Returns a callback to be invoked when the Form submit button is clicked.
Link copied to clipboard
Register a callback to be invoked when the message template action is clicked.
Link copied to clipboard
Returns a callback to be invoked when the suggested replies is clicked.
Link copied to clipboard
Called when RecyclerView needs a new MessageViewHolder of the given type to represent an item.
Link copied to clipboard
Register a callback to be invoked when the Form submit button is clicked.
Link copied to clipboard
Register a callback to be invoked when the message template action is clicked.
Link copied to clipboard
open fun setSuggestedRepliesClickListener(@Nullable suggestedRepliesClickListener: OnItemClickListener<String>)
Register a callback to be invoked when the suggested replies is clicked.

Properties