java - How to convert ArrayList to ListView? -
this question has answer here:
- populating listview using arraylist? 4 answers
i'm programming android application , 1 feauture listview generated , populated mysql database.
this outputted arraylist:
databasehandler db = new databasehandler(this); list<suspect> list = db.getallcontacts(); do use cursor input in listview? code appreciated..
i recommend use cursoradapter in case don't need data manipulations after query.
if want use list try arrayadapter.
Comments
Post a Comment