View parentRow = (View) v.getParent(); ListView listView = (ListView) parentRow.getParent(); index = listView.getPositionForView(parentRow);