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

Shares

Join my free 2-hour training!

  • Learn how to start and use a more idiomatic Kotlin in a breeze
  • Find out what's the current situation of Kotlin in the market
  • Get 2 free ebooks just for attending!
Shares
%d bloggers like this: