Android From Local DB (DAO) to Server sync (JSON) - Design issue
- by Taiko
I sync data between my local DB and a Server.
I'm looking for the cleanest way to modelise all of this.
I have a com.something.db package
That contains a Data Helper and couple of DAO classes that represents objects stored in the db (I didn't write that part)
com.something.db
--public DataHelper
--public Employee
@DatabaseField e.g.…