Please post the relevant code where you are setting up and handling your
item click.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Aug 29, 2012 at 4:21 AM, Narendra Singh Rathore <
nsr.curi...@gmail.com> wrote:

> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to