How do I get the selected item from a Gridview with ImageAdapter? (Android)
问题 I had used a ListView to show some data (String) retrieved from the database...quite simple, but one of my cooworkers decided to put an image in front of the text in the screen. We were not able to do it with Listview, but we found some example with GridView that looked exactly as we need then we spent some time using GridView and did put the image in the front of the text. Now, unfortunately we don't know how to get the selected item (based on the Text that comes from the item selected) I'm