DigitalCampus / oppia-mobile-android

Android client app for OppiaMobile learning platform
https://digital-campus.org/oppiamobile/overview/
GNU General Public License v3.0
28 stars 48 forks source link

Move DbHelper class to use Room instead #709

Closed alexlittle closed 4 years ago

alexlittle commented 6 years ago

It's very long, with lot of different methods for various areas. Can this be split up into different functional areas (eg user/course/activity etc)?

jjoseba commented 6 years ago

Since last year, it is available de Room Persistence Library (https://developer.android.com/topic/libraries/architecture/room), a simple ORM for SQLite. I've heard a lot of good things about it. I can give it a try and see how complex would it be to refactor the DbHelper into this so we have a better structured and cleaner code for all the DB access part.

alexlittle commented 4 years ago

transferred to OPPIA-119