get ImageView's image and send it to an activity with Intent

前端 未结 7 1493
孤街浪徒
孤街浪徒 2020-12-06 03:22

I have a grid of many products in my app. when the user selects one of the item in the grid, I am starting a new activity as DIALOG box and display the item\'s name,quantity

相关标签:
7条回答
  • 2020-12-06 04:16

    You need to convert drawable into Bitmap using this solution: And then you can pass it to the next activity via intent, because Bitmap class implements Parcelable interface.

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