AttachmentFactory

Represents a handler that can handle custom attachments of certain type and create ViewHolders for them.

Inheritors

Functions

Link copied to clipboard
abstract fun canHandle(message: Message): Boolean

Checks if this AttachmentFactory can consume attachments from the given message.

Link copied to clipboard

Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.