I have an application that will show a simple listview. The listview will show the contents of a specific table of a SQLite database.
In the database table I have 3 fields. ID, Name and Picture.
An example row would be:
ID : 1
Name : Glass
Picture : @drawable/glass
Would it be possible to use a List View to view this information, or any other way.
I need the ListView to show the ID, then the Picture, then the Name in one ListView section, if that makes sense.
Thanks
//EDIT
Also, the database is in the assets folder of the app, is this the correct way to do it?
this code loads a list view with an image and a textview refer it and edit for your use (sample code from lazy adapter)