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

Want to learn Kotlin?

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

%d bloggers like this: