AttachmentPreviewFactory
interface AttachmentPreviewFactory
A factory responsible for creating attachment preview ViewHolders.
Inheritors
Functions
Link copied to clipboard
Checks if the factory can create a preview ViewHolder for this attachment.
Link copied to clipboard
abstract fun onCreateViewHolder(parentView: ViewGroup, attachmentRemovalListener: (Attachment) -> Unit, style: MessageComposerViewStyle? = null): AttachmentPreviewViewHolder
Creates and instantiates a new instance of AttachmentPreviewViewHolder.