samedi 18 avril 2015

Should I use a Database like/instead of an Object, or just use it to load/save data on app create/pause?

I've very recently learnt how to incorporate SQLiteDatabases into android applications. However still not sure how to best use them.


Should I be constantly reading/writing from the database to the objects in my app. Or is this a waste of time/resources and therefore I should only use the DB to populate in app objects onCreate and to save them onPause etc?


This is assuming the objects/data are frequently read/edited by the user throughout the use of the app.


Aucun commentaire:

Enregistrer un commentaire