Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unselect all images #339

Closed
dilip786 opened this issue Mar 11, 2021 · 2 comments
Closed

Unselect all images #339

dilip786 opened this issue Mar 11, 2021 · 2 comments
Labels

Comments

@dilip786
Copy link
Contributor

dilip786 commented Mar 11, 2021

How can we handle all images unselected case, I mean i unselected all images and clicked on back button
Want to show a different UI if user unselected all images.

@esafirm
Copy link
Owner

esafirm commented Mar 18, 2021

Currently, this is only possible if you implement custom UI for image picker, or if you want to treat Activity.RESULT_CANCEL as unselect all signal

Other than that, we have to make done button show/hide logic customizable from config. Do you have any other suggestions?

@dilip786
Copy link
Contributor Author

dilip786 commented Mar 19, 2021

Other than that, we have to make done button show/hide logic customisable from config? is this possible, If yes can you please post code snippet

or can we show done all the time irrespective of user selection, and send us back selected images list as it is (0 or >0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants