onClickListener on imageview to start new intent

前端 未结 2 444
灰色年华
灰色年华 2021-01-17 01:11

So Im trying to use an onClickListener to pass an image from one activity to a new activity but I cannot figure out how to do it. How it works is the app starts with a listv

2条回答
  •  伪装坚强ぢ
    2021-01-17 01:48

    You're putting in the extra with the key imageResourceId but you're trying to pull it out with the key imageFullScreen. Try using the same key in both places.

提交回复
热议问题