Koin for dependency injection on Android. Is Dagger dead?

Koin is an alternative to Dagger that takes advantage of Kotlin features to make dependency injection much easier.

In the video above, I explain why you need a dependency injector, what’s the difference between Dagger and Koin, and a complete example on how to start using it.

The article about clean architecture mentioned in the video:
👉 https://antonioleiva.com/clean-architecture-android/

And the branch where this code lives:
👉 https://github.com/antoniolg/clean-architecture/tree/koin

The info about Architect Coders program:
👉 https://architectcoders.com

And the repository:
👉 https://github.com/antoniolg/architect-coders

Check my free guide to create your first project in 15 minutes!

Antonio Leiva

Source link