I want to implement Room database in my app, but I want to do that by creating a Library project.
Library project will store data Android project will have the Objects and Dao's
Is this possible?
For this I have to implement Room in both Android project as well as Library
But can I have Dao's and Objects in Android project and Database in Library
Why I want to do this. I want to build this feature in a generic way so that it can be used in my other project. Also Library will not just store the data, it will have some offline functionality which read a Offline data table and checks the internet connection and picks data from the table and send it to server.
None of this is implemented yet. I am in the process of thinking what is the right aproach
Thanks for your suggestions
R