jeudi 25 décembre 2014

How to make new layout for each rowId in SQLite

I have linearlayout in XML with 5 textviews and some other elements (progressbar, buttons etc.). All these elements are based on data from SQLite database. I can place the data to layout, but how can I make the app to create new linearlayout with all elements each time when user writes new row in database?


Also, how can I get number of rowId's that are in database?


Thanks!


Aucun commentaire:

Enregistrer un commentaire