Currently I have
<ListView>
<TextView>
</ListView>
and the following method works perfectly
@Override
protected void onListItemClick(ListView l, View v, int position, long id)
I'm planning to change the layout to
<ListView>
<TextView>
<Button>
</ListView>
public void buttonListener(View v)
Is there a simple way I can retrieve the ListView l and int position from inside the button listener?
Thank you!