How do I know which list item was clicked?

view story

http://stackoverflow.com – I have a ListView filled with items. I'd like to set an onClickListener to show details about the item that was clicked. How can I determine which item was clicked within the onClickListener? The View, or v has a lot of methods available that I've looked through and don't see anything pertaining to getting the object clicked on. //populate the activity list ListView teamsListView = (ListView) activity.findViewById(R.id.teamsListView); ArrayList<HashMap<String, String>> listData = new ArrayList<HashMap<String, String>>(); HashMap<String, String> (HowTos)