coomar2841 / android-multipicker-library

Android Multipicker Library
Apache License 2.0
438 stars 107 forks source link

How to set allowMultiple false #147

Open kvipul opened 6 years ago

kvipul commented 6 years ago

I'm using same instance of ImagePicker class in my Activity where some view pick multiple and some pick single image. The problem is when I call the method imagePicker.allowMultiple() it sets allowMultiple boolean as true and next time I pick single image it allows multiple. How can I set it false again to pick only one image.

I guess you should use setMultiple(boolean isMultiple) method instead of allowMultiple().

icangku commented 6 years ago

-_-

coomar2841 commented 6 years ago

Will add this.

WingSafari5 commented 3 years ago

How do I allow for only a single file to be picked?