No more get() calls in your Koin Module!

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Koin now supports a Kotlin compiler plugin (version 0.3.0) that eliminates the need for manual get() calls in dependency injection modules. The plugin auto-detects constructor parameters at compile time, works with both DSL and annotations, and generates no visible files. The tutorial walks through migrating existing Koin modules to the new DSL, covering viewModel declarations without double-colon syntax, single bindings using the bind function, multiple interface bindings with bindOf, named qualifiers, and the new injectedParameter annotation. Requires Koin 4.2.0-RC1 and Kotlin 2.3.20-beta1 or newer.

5m watch time

Sort: