Users Pricing

forum

home / developersection / forums / design pattern for syncing data in android

Design pattern for syncing data in android

Anonymous User 2928 23 Nov 2015
I have been seeing two implementations for syncing data between the server and the client on majority of the apps. This assumes no GCM is set up:-

Running an intent service periodically which downloads the data from the network and stores in the database.
Implementing a Sync Adapter which runs periodically.
Which of the above would you recommend to have in your app and why?

I am a content writter !


2 Answers