AttachmentPickerItemState

data class AttachmentPickerItemState(val attachmentMetaData: AttachmentMetaData, val isSelected: Boolean = false)

Represents the state of a single item in the attachment picker.

Each item displayed in the attachment picker (images, videos, files) is represented by this class, which holds both the metadata about the attachment and its current selection state.

Parameters

attachmentMetaData

The metadata describing the attachment, including its URI, file name, size, MIME type, and other relevant information.

isSelected

Whether this item is currently selected.

Constructors

Link copied to clipboard
constructor(attachmentMetaData: AttachmentMetaData, isSelected: Boolean = false)

Properties

Link copied to clipboard
val isSelected: Boolean = false