MediaAttachmentPreviewFactory
The default AttachmentPreviewFactory for image and video attachments.
Functions
Link copied to clipboard
Checks if the factory can create a preview ViewHolder for this attachment.
Link copied to clipboard
open override fun onCreateViewHolder(parentView: ViewGroup, attachmentRemovalListener: (Attachment) -> Unit, style: MessageComposerViewStyle?): AttachmentPreviewViewHolder
Creates and instantiates a new instance of MediaAttachmentPreviewFactory.