jeudi 25 décembre 2014

Android performance sqlite columns or raw json

I am a beginner android developer building a simple messaging application. I am using a custom Cursor Adapter to bind data to my listview. The content for the list will originally arrive on the mobile phone as small json documents (approximately 10 attributes).


In terms of best practice and performance, should i parse the json and store attributes in a sqlite table or put the raw json in a sqlite table column with just enough columns to run my query and then just parse json using a json library at time of binding. Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire