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

Author: Antonio Leiva

I’m in love with Kotlin. I’ve been learning about it for a couple of years, applying it to Android and digesting all this knowledge so that you can learn it with no effort.

Want to learn Kotlin?

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

Shares

Shares
%d bloggers like this: