Calling method in host from gridview adapter

I have a gridview that is filled with several images using a custom adapter. The adapter item that shows the images have a download button. What I want to do is to send a method to the custom adaptar that should be called when the user presses the download button. In summary: onlinegallery-> associate gridview with adapter sending an onlinegallery method as parameter gridview adapter -> shows several item.xml each containing an image and a button. item button -> when pressing the button, the onlinegallery method should be called indicating the image to download.

以上就是Calling method in host from gridview adapter的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准