I have GridView
populated with images of 6 fruits (from drawable-hdpi
). like this:
Now on selection, how can I come to know, what fruit the user has selected? Since I'm populating my images from drawables-hdpi
, what would be the identifier and how to identify selection through it?
Thanks :)