PickerTabContent

abstract fun PickerTabContent(attachments: List<AttachmentPickerItemState>, onAttachmentsChanged: (List<AttachmentPickerItemState>) -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Emits a content for the tab.

Parameters

attachments

The list of attachments to display.

onAttachmentsChanged

Handler to set the loaded list of attachments to display.

onAttachmentItemSelected

Handler when the item selection state changes.

onAttachmentsSubmitted

Handler to submit the selected attachments to the message composer.