How to get the list position for OnTouchListener in Android?

advertisements

In my application,i have a custom listview(it contains imageView,two textviews).I am using OnTouch Lisener for touch on listview i open paticular image with full screen and when i release that image in ACTION_Up method. All worked fine but i can't get list item position.Please can any one tell me how to get the postion fo the listview for OnTouch.

Thanks in Advance.


Use onItemClickListener for get list item and item's position