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
Checks if any AttachmentFactory can consume attachments from the given message.
Link copied to clipboard
fun createViewHolder(message: Message, listeners: MessageListListenerContainer?, parent: ViewGroup): InnerAttachmentViewHolder
Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.
fun createViewHolder(message: Message, listeners: MessageListListeners?, parent: ViewGroup): InnerAttachmentViewHolder