Jetpack compose — Dependency injection with Dagger/HILT
Raksha
Posted on April 11, 2022
What is a Dependency Injection?
How do you use Jetpack compose - Dependency injection with Dagger/HILT?
Dependency injection (DI) is a technique widely used in programming and well suited to Android development, where dependencies are provided to a class instead of creating them itself.
HILT is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
You can find complete source code here.
Learn how to implement Dependency injection with Dagger/HILT using Jetpack Compose.
💖 💪 🙅 🚩
Raksha
Posted on April 11, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.