How to set minimum limit.
Opened this issue · 1 comments
sdianurag commented
Hello martin,
thank you for such a great project. it helped me and save my time.
In my app I need to set minimum limit of selected images to 5 from gallery like you set maxCount in...
SImagePicker .from(MyActivity.this) .maxCount(15) .rowCount(5) .pickMode(SImagePicker.MODE_IMAGE) .fileInterceptor(new SingleFileLimitInterceptor()) .forResult(REQUEST_CODE_IMAGE);
My question is how to set minCount for 5 images.
Thanks in advance.
martin90s commented
HI,
SImage Picker still does't support this feature, but you can do it in
your FileChooseInterceptor, override onFileChosen and judge if user
selected 5 images.if not ,return false and show a dialog.
2017-04-10 15:36 GMT+08:00 Anurag Shrivastava <notifications@github.com>:
… Hello martin,
thank you for such a great project. it helped me and save my time.
In my app I need to set minimum limit of selected images to 5 from gallery
like you set *maxCount* in...
SImagePicker .from(MyActivity.this) .maxCount(15) .rowCount(5)
.pickMode(SImagePicker.MODE_IMAGE) .fileInterceptor(new
SingleFileLimitInterceptor()) .forResult(REQUEST_CODE_IMAGE);
My question is how to set *minCount* for 5 images.
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWCv5dOJv0fk8Z80MTL-GENsGFdS9Xtks5rudvygaJpZM4M4a4C>
.