I have a simple ArrayAdapter. I want to set up a listener for every row click of my list such that a new Activity opens. How would I do that? My ArrayAdapter code -
Once you have set your adapter using:
mListView.setAdapter(myCountryListAdapter);
Then you can setup a click listener for the listview:
mListView.setOnParentClickListener(new OnClickListener() { public void onClick(View view,) { ///do what you want the click to do } });