Package 

Class FilesPickerKt

    • Method Detail

      • FilesPicker

        @Composable() final static Unit FilesPicker(List<AttachmentPickerItemState> files, Function1<AttachmentPickerItemState, Unit> onItemSelected, Function1<List<Uri>, Unit> onBrowseFilesResult, Modifier modifier, Function1<AttachmentPickerItemState, Unit> itemContent)

        Shows the UI for files the user can pick for message attachments. Exposes the logic of selecting items and browsing for extra files.

        Parameters:
        files - The files the user can pick, to be rendered in a list.
        onItemSelected - Handler when the user clicks on any file item.
        onBrowseFilesResult - Handler when the user clicks on the browse more files action.
        modifier - Modifier for styling.