dimanche 18 octobre 2015

Android SQLite, string from the database to the listView

How do I take text info from the database and pass it to the text in a listView. My listView contains only a TextView. I know how to pass in a String array(so that each cell is a line in the listView). I don't know how to keep the info from the database into a dynamic String array or something and pass it to the listView.

I was thinking about a Map mabey. Would love to hear your answer.

Aucun commentaire:

Enregistrer un commentaire