Skip to content

How to Migrate from Dagger 2/Hilt to Koin for KMP

Join Arnaud Giuliani, The Koin Project Lead as he takes you through the simple migration process.
 
Thursday, October 10th
14:00 CET
Arnaud Giuliani, Koin Project Lead
Kotzilla is a member of the
Screenshot 2024-08-08 at 17.12.35

What You'll Learn

  • Adding Koin dependencies to your KMP project
  • Configuring Koin annotations and source sets
  • Activating compile-time safety with Koin
  • Replacing Hilt annotations with Koin equivalents
  • Migrating ViewModel injection from Hilt to Koin
  • How to adjust your test setup to use Koin's testing utilities instead of Hilt's.
  • Setting up your Compose previews correctly