Display image based on Gridview selection from previous activity

前端 未结 1 1388
情歌与酒
情歌与酒 2021-01-28 02:24

I currently have a working gridview displaying some thumbnails. Currently, when you select an image it will save a larger resolution of the image as a wallpaper.

What I

1条回答
  •  被撕碎了的回忆
    2021-01-28 03:21

    In your event handler (the OnItemClickListener), you can get the resource ID of the image as mThumbs[position]. Add this as an extra to the Intent you use to start your FullView Activity.

    0 讨论(0)
提交回复
热议问题