PickerTabContent
abstract fun PickerTabContent(onAttachmentPickerAction: (AttachmentPickerAction) -> Unit, attachments: List<AttachmentPickerItemState>, onAttachmentsChanged: (List<AttachmentPickerItemState>) -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)
Emits a content for the tab.
Parameters
onAttachmentPickerAction
A lambda that will be invoked when an action is happened.
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.