Message View Holder
A ViewHolder describes an item view and Message about its place within the RecyclerView.
Constructors
Link copied to clipboard
Constructor
Link copied to clipboard
open fun MessageViewHolder(@NonNull view: View, @NonNull messageListUIParams: MessageListUIParams)
Content copied to clipboard
Functions
Link copied to clipboard
Content copied to clipboard
open fun bind( @NonNull channel: BaseChannel, @NonNull message: BaseMessage, @NonNull params: MessageListUIParams)
Content copied to clipboard
Binds as item view and data.
Link copied to clipboard
Returns a Map containing views to register a click event with an identifier.
Link copied to clipboard
open fun onBindViewHolder( @NonNull channel: BaseChannel, @Nullable prevMessage: BaseMessage, @NonNull message: BaseMessage, @Nullable nextMessage: BaseMessage)
Content copied to clipboard
Link copied to clipboard
Sets the configurations of the message's properties to highlight text.