android-multipicker-library icon indicating copy to clipboard operation
android-multipicker-library copied to clipboard

How to set allowMultiple false

Open kvipul opened this issue 7 years ago • 3 comments

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().

kvipul avatar Aug 02 '18 11:08 kvipul

-_-

icangku avatar Aug 09 '18 08:08 icangku

Will add this.

coomar2841 avatar Aug 13 '18 18:08 coomar2841

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

WingSafari5 avatar Jan 29 '21 15:01 WingSafari5