Dependency Injection with Hilt – Android

By Muskan Nande – Dependency injection (DI) is a technique widely used in programming and well suited to Android development, dependencies are provided to a class instead of creating them itself. Dependency injection principle states that entities must depend on abstraction not on concretions. It is a process of constructing required dependencies outside of the dependent object and providing them to the dependent object when needed. DI principles helps in doing the groundwork for good app architecture, greater code reusability, ...

Read More