GroupChannelMessageViewHolder

abstract class GroupChannelMessageViewHolder : MessageViewHolder, EmojiReactionHandler

A ViewHolder describes an item view and Message about its place within the RecyclerView.

Constructors

Link copied to clipboard
Link copied to clipboard
open fun GroupChannelMessageViewHolder(@NonNull view: View, @NonNull messageListUIParams: MessageListUIParams)

Functions

Link copied to clipboard
abstract fun setEmojiReaction(@NonNull reactionList: List<Reaction>, @Nullable emojiReactionClickListener: OnItemClickListener<String>, @Nullable emojiReactionLongClickListener: OnItemLongClickListener<String>, @Nullable moreButtonClickListener: View.OnClickListener)
Sets message reaction data.
open fun setEmojiReaction(@NonNull reactionList: List<Reaction>, @NonNull totalEmojiList: List<Emoji>, @Nullable emojiReactionClickListener: OnItemClickListener<String>, @Nullable emojiReactionLongClickListener: OnItemLongClickListener<String>, @Nullable moreButtonClickListener: View.OnClickListener)
Sets message reaction data with total emoji count allowed for the message.