ChatViewDelegate
interface ChatViewDelegate
Functions
Link copied to clipboard
abstract fun onBindViewHolder(holder: RecyclerView.ViewHolder, liveLikeChatMessage: LiveLikeChatMessage, chatViewThemeAttributes: ChatViewThemeAttributes, showChatAvatar: Boolean)
Allow integrator to bind data to the view elements inside the holder instance, right supports for only #ChatMessageType.CUSTOM_MESSAGE_CREATED
Link copied to clipboard
abstract fun onCreateViewHolder(parent: ViewGroup, viewType: ChatMessageType): RecyclerView.ViewHolder
Allow integrator to provide viewHolder class based on viewType, currently it supports only #ChatMessageType.CUSTOM_MESSAGE_CREATED