Package 

Class ImagesPickerKt

    • Method Detail

      • ImagesPicker

        @Composable() final static Unit ImagesPicker(List<AttachmentPickerItemState> images, Function1<AttachmentPickerItemState, Unit> onImageSelected, Modifier modifier, Function1<AttachmentPickerItemState, Unit> itemContent, Boolean showAddMore, Function0<Unit> onAddMoreClick, Function0<Unit> addMoreContent)

        Shows the UI for images the user can pick for message attachments. Exposes the logic of selecting items.

        Parameters:
        images - The images the user can pick, to be rendered in a list.
        onImageSelected - Handler when the user clicks on any image item.
        modifier - Modifier for styling.
        itemContent - Composable rendering an image/video item in the picker.
        showAddMore - Flag indicating the the "Add more" item should be shown at the beginning of the picker.
        onAddMoreClick - Action to be invoked when the user clicks on the "Add more" item.
        addMoreContent - Composable rendering the "Add more" item.