UploadAttachmentFactory
class UploadAttachmentFactory(onContentItemClick: (Attachment, List<AttachmentPreviewHandler>) -> Unit = ::onFileUploadContentItemClick) : AttachmentFactory
An AttachmentFactory that validates and shows uploading attachments using FileUploadContent. Has no "preview content", given that this attachment only exists after being sent.
Parameters
onContentItemClick
Lambda called when an item gets clicked.
Constructors
Link copied to clipboard
constructor(onContentItemClick: (Attachment, List<AttachmentPreviewHandler>) -> Unit = ::onFileUploadContentItemClick)
Inherited properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val previewContent: @Composable (modifier: Modifier, attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit) -> Unit? = null
Link copied to clipboard
Link copied to clipboard