AttachmentFactory
interface AttachmentFactory
Represents a handler that can handle custom attachments of certain type and create ViewHolders for them.
Inheritors
Functions
Link copied to clipboard
Checks if this AttachmentFactory can consume attachments from the given message.
Link copied to clipboard
open fun createViewHolder(message: Message, listeners: MessageListListenerContainer?, parent: ViewGroup): InnerAttachmentViewHolder
open fun createViewHolder(message: Message, listeners: MessageListListeners?, parent: ViewGroup): InnerAttachmentViewHolder
Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.