Hi all developers, I am performing item click of gridview, all is working well unless when I click the empty space after the last item of gridview.
On the above mentioned circumstance of clicking empty space, my OnItemClickListener executes (even if there is not any item, returning a wrong position) For instance, I am having a grid of 15 items, and if I click the position after the last one, it is returning me the position (15-8)=*7.* This behavior doesn't happen if I take grid of less than 8 items. Otherwise, on clicking the empty item, the wrong position of (total items - 8) is returned. I will be happy if someone would be able to direct me to the correct way, as I am not getting this strange behavior. Thanks n Regards, NSR. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

