Closed dambadipudi closed 6 years ago
@JaeW I completely agree with you. I decided to let both the entities be as they were, and worked with that. I was hoping you would take care of combining both of them to have a single POJO for Resource entity in the Issue that you created for it :)
Fixes #77 .
Changes proposed in this pull request: Added methods in the Repository to call the DAO methods to insert a single resource and a single topic Moved the firebase code from MainActivity to Repository and added code to insert the firebase data into the DB. Added a new LaunchActivity whose sole purpose is to load the firebase data into the local DB before calling MainActivity