WikiEducationFoundation / apps-android-wikiedudashboard

Access WikiEdu Dashboard from Android App.
https://dashboard.wikiedu.org/
MIT License
22 stars 53 forks source link

Add Local Database to add offline support in App. #145

Open ujjwalagrawal17 opened 5 years ago

ujjwalagrawal17 commented 5 years ago

Describe the feature you'd like

Use Room or any other library to maintain a local database to add offline support. Other suggestions for databases are welcome.

Would you like to work on the issue?

No

kiranofans commented 5 years ago

Just asking, is Room a database like MySQL or a library that supports a database? And can I try this?

ujjwalagrawal17 commented 5 years ago

Library that supports DB. It deals with Sqlite DB but we don't have to write SQL queries if we are using room.

gconnect commented 5 years ago

I would like to work on this. This issue will be broken down into sub-issues

kiranofans commented 5 years ago

I would like to work on this. This issue will be broken down into sub-issues

  • initial database setup
  • DAO (Data Access Object)
  • Entities
  • ViewModels
  • Repository

@gconnect Looks good to me

jerryOkafor commented 4 years ago

@gconnect I don't think you need ViewModels at this point, the app is written with MVP. Until it is migrated to MVVM, I suppose we can not add ViewModels to it.

ujjwalagrawal17 commented 4 years ago

@jerryOkafor we have migrated the app from MVP to MVVM. Changes in Readme is pending. Please clone the code and check.