I have a ListView that is populated using an XML file. However, I want each item, when clicked, to start a new Activity related to that item.
I understand how to use OnItemClick to start a Toast that shows the selected item's text. However, since the ListView is populated from an XML there is not a specific Id for each item in the list.
So, how would I associate an Activity with each item in the ListView when the items do not have Ids?