apps-android-wikiedudashboard icon indicating copy to clipboard operation
apps-android-wikiedudashboard copied to clipboard

Add Local Database to add offline support in App.

Open ujjwalagrawal17 opened this issue 5 years ago • 6 comments

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

ujjwalagrawal17 avatar Oct 20 '19 18:10 ujjwalagrawal17

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

kiranofans avatar Nov 01 '19 22:11 kiranofans

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

ujjwalagrawal17 avatar Nov 02 '19 03:11 ujjwalagrawal17

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 avatar Nov 02 '19 11:11 gconnect

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

kiranofans avatar Nov 02 '19 21:11 kiranofans

@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.

jerryOkafor avatar Sep 06 '20 08:09 jerryOkafor

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

ujjwalagrawal17 avatar Sep 08 '20 11:09 ujjwalagrawal17