I have an android app and it I want it to display a set of questions dynamically. To help me do this, I have an external database(outside the app) and an internal database(SQLite inside the app). I copy the external to the internal database.
The database contains Surveys, with an x amount of questions.
My question is, is it better to display the questions through frequent statements from the internal database, or make a single statement from the internal database and parse the data into a Survey object and display the questions by talking to the Survey object?
The reason why I ask is because passing an object from Activity to Activity in android isn't easily done.
Aucun commentaire:
Enregistrer un commentaire