Skip to content

Count Limit to Files + Returns More Media Data#1

Open
cao-eric wants to merge 1 commit intowitPranav:mainfrom
cao-eric:main
Open

Count Limit to Files + Returns More Media Data#1
cao-eric wants to merge 1 commit intowitPranav:mainfrom
cao-eric:main

Conversation

@cao-eric
Copy link
Copy Markdown

@cao-eric cao-eric commented Nov 3, 2024

  • Added property maxItems to set a limit when multiple media selection is true.
  • Rather than returning an array of uris, instead return an array of attachment objects. Attachment objects have the properties: uri, width, height, size, and mime.
  • Refactored onActivityResult() function to minimize the number of nested if-statements.
  • Added new PhotoPickerConstants for the attachment object.

-Added property maxItems to set a limit when multiple media selection is true.
-Rather than returning an array of uris, instead return an array of attachment objects. Attachment objects have the properties: uri, width, height, size, and mime.
-Refactored onActivityResult() function to minimize the number of nested if-statements.
-Added new PhotoPickerConstants for the attachment object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant