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