Jetpack compose — Dependency injection with Dagger/HILT

garambharaksha

Raksha

Posted on April 11, 2022

Jetpack compose — Dependency injection with Dagger/HILT

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.

💖 💪 🙅 🚩
garambharaksha
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.

Related