open class MessageReceivedViewHolder : ViewHolder
View Holder for message sent out from current user, it holds reference to frequent update views and provides helper method to bind data information onto views
<init> |
Constructor method to initialised MessageReceivedViewHolder MessageReceivedViewHolder(itemView: View) |
tvContent |
var tvContent: TextView! |
tvDate |
var tvDate: TextView! |
tvTime |
var tvTime: TextView! |
bind |
helper method to update respective view based on data pass over open fun bind(msg: ChatMessage!, showDate: Boolean): Unit |