Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android data access design patterns: Content provider vs repository

I wonder what folks use as a common data access pattern on Android? Content providers? Repositories? DAOs?

Thanks a lot!

like image 415
TheMadMax Avatar asked Nov 06 '22 01:11

TheMadMax


1 Answers

I utilize Content Providers for all data access to SQLite resources, but build DAOs on top of them to handle all domain object conversions.

like image 157
Brian Avatar answered Nov 11 '22 11:11

Brian