lv.setOnClickListener(new OnClickListener(){ public void onClick(View v){ } });
Does v refer to the ListView
v
I believe that v refers to the whole ListView. To add a click handler for an item, you want to use AdapterView.setOnItemClickListener.
ListView