An app which is clone of another app KotlinWeatherData. It has well built code confirming to Clean architecture with multi modules.
LocalDBLib library module is added for interacting with SQLite DB via Room Lib. Dagger2 is user for injecting database where it is required.
Repository now support 2 datasources
- Network datasource
- LocalDB datasource
Workmanager is added to do the One time db population request in background.
For starting sample test both unit test and instrumentation test are added modelslib module for demonstrating , independent module for testing a small unit of program.
A post on Medium has been added for explaining this. https://medium.com/@success.anil.kk/muti-module-android-project-clean-architecture-d082a29d841c