siralam / BSImagePicker

An image picker that extends BottomSheetDialogFragment. Camera and gallery all in one dialog. Single or Multi Selection.
202 stars 61 forks source link

is it possible to show as it is selected if we reopen image picker? #40

Closed sitaram-gupta closed 5 years ago

siralam commented 5 years ago

Hmm... Good question. Not supported.

But you can fork and add this yourself. Just add one more method to the builder such as setInitialSelection(positions: List<Int>) and there you go.

sitaram-gupta commented 5 years ago

thank you for your response let me try as you said.

sitaram-gupta commented 5 years ago

Actually i didn't get to set this method setInitialSelection(positions: List) in builder. and from where i can get the selected position list?

Thank you