mercredi 9 septembre 2015

How do I store a list of data from server for sync adapter if the the list consist of many different items?

I would like to create a list in an Activity which will retrieve its data from the server. I would like my app to synchonize the data in the list with the server. The tutorial from google is good enough if every items in the list have the same structure. I can store it just fine in SQLite. I saw a good explanation regarding sync adapter here. But, what if my list contains many different structures. It's difficult to represent it in SQLite. Is there a way to do that? Should I use another database for this case?

Aucun commentaire:

Enregistrer un commentaire