Android : Android get click position from within OnItemClickListener

on Friday, April 17, 2015


I got a ListView, and some times the listView, view is complex and I actually need to know the X,Y position of where it been clicked to handle it.


I don't have the option to catch the click from the adapter, the API that I use prevent me from doing so.


i do have control over the creation of the view itself.


Is there a way for me to get the click position of view from OnItemClickListener?


0 comments:

Post a Comment