lv.setOnClickListener(new OnClickListener(){ public void onClick(View v){ } });
Does v refer to the ListView
v
There is a setOnItemClickListener for what you want.