开发者

Android: Mark images selected in gallery

I have an app that allows users to select images from the gallery (using an ACTION_PICK intent). I want to allow users to update their selection, by going back into the gallery and making changes. However, when they go back to the gallery for a second/third/etc. time, I want their previous selections to be selected in the gallery..开发者_如何学C. Is there a way to do this?

Thanks for your time.


Do you mean the Gallery app or your own activity containing a gallery of images? If it's your own activity you can simply store the results of your ACTION_PICK into a shared preference. You can then go through you gallery and mark your items as selected based on those stored preferences. I hope this helps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜