Set Android Gallery widget to show specific starting image

Posted by Dalmazio Brisinda on Stack Overflow See other posts from Stack Overflow or by Dalmazio Brisinda
Published on 2010-02-18T00:36:24Z Indexed on 2010/04/06 21:33 UTC
Read the original article Hit count: 331

Filed under:
|
|

Hi all,

I have a task where the user can select an image from a GridView representing a photo album, and from this I start a new activity which displays a Gallery widget to show the images of the photo album. However, I can't seem to get the Gallery widget to show the contents of the photo album with a given image as the starting point. Ideally I would like a Gallery#setStartingImage(int position) or something similar.

Any ideas would be greatly appreciated.

Best, Dalmazio

© Stack Overflow or respective owner

Related posts about android

Related posts about android-widget