I create a custom gridview filled with imageAdapter which include two controls both imageview and checkbox. At present I have added a setOnClickListener for imageview, it works well. I hope to add a context menu for imageview, but the Code 1 don’t work, the context menu don’t display when I long click a image. Why? [...]
The post How to add context menu for the item of custom gridview? appeared first on BlogoSfera.