A Clean Architecture App to show use of Hilt in a multi-module architecture
This app is a PoC to showcase the use of Hilt in a multi module architecture. The modules are as follow:
- app: Presentation Layer
- domain: Business Logic Layer
- data: Data Access Layer
Some major highlights and libraries used are:
- Hilt
- Dagger
- Coroutines
- Retrofit
- View Binding
- Clean Architecture based on Uncle Bob
- SOLID principles
The app has two branches:
- master: This is a skeleton branch which you can used to suit your use case.
- loginFlow: This is a branch based on the master which shows a dummy login flow.
More on loginFlow branch:
This branch is showcasing how to use Custom Scopes and Components with Hilt which is a bit tricky to implement. The scope is @LoggedInScope and the custom component is UserComponent. Please have a look at it and contribute if you feel so.