mercredi 9 décembre 2015

If-else statement with ListView ArrayAdapter?

Is it possible to use an if-else statement for an ArrayAdapter with ListView? I am trying to make it so that when an item on ListView (on the first page/activity) is clicked, it populates another ListView (on the second page) with an array of strings that I have already defined. I want it to be that each item on the first list view populates the second list view with different arrays. Is this possible?

Aucun commentaire:

Enregistrer un commentaire