createViewHolder
Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.
Return
An inner ViewHolder with the attachment content view.
Parameters
The message containing custom attachments that we are going to render.
MessageListListeners with listeners for the message list.
The parent View where the attachment content view is supposed to be placed.
Deprecated
Use createViewHolder(message: Message, listeners: MessageListListeners?, parent: ViewGroup) instead
Replace with
createViewHolder(message, listeners, parent)
Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.
Return
An inner ViewHolder with the attachment content view.
Parameters
The message containing custom attachments that we are going to render.
MessageListListenerContainer with listeners for the message list.
The parent View where the attachment content view is supposed to be placed.