Package 

Class FileUploadContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit FileUploadContent(AttachmentState attachmentState, Modifier modifier, Function2<Attachment, List<AttachmentPreviewHandler>, Unit> onItemClick) Represents the content when files are being uploaded.
      final static Unit FileUploadItem(Attachment attachment, Modifier modifier) Represents each uploading item, with its upload progress.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • FileUploadContent

        @Composable() final static Unit FileUploadContent(AttachmentState attachmentState, Modifier modifier, Function2<Attachment, List<AttachmentPreviewHandler>, Unit> onItemClick)

        Represents the content when files are being uploaded.

        Parameters:
        attachmentState - The state of this attachment.
        modifier - Modifier for styling.
        onItemClick - Lambda called when an item gets clicked.
      • FileUploadItem

        @Composable() final static Unit FileUploadItem(Attachment attachment, Modifier modifier)

        Represents each uploading item, with its upload progress.

        Parameters:
        attachment - The attachment that's being uploaded.
        modifier - Modifier for styling.