AttachmentFactoryManager

class AttachmentFactoryManager(attachmentFactories: List<AttachmentFactory> = listOf( UnsupportedAttachmentFactory(), ))

A manager for registered custom attachment factories.

Constructors

Link copied to clipboard
constructor(attachmentFactories: List<AttachmentFactory> = listOf( UnsupportedAttachmentFactory(), ))

Functions

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

Checks if any 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.