Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Doing manual dependency injection requires you to construct every class and its dependencies by hand, and to use containers to reuse and manage dependencies.
- Idea to inject dependency using dagger hilt
- Scoping Hirarchy
For Further Information check out the article on medium https://medium.com/@fazalcs13/dagger-hilt-for-beginners-part-1-fbd52042036d