Investing in Koin
summary
Koin is demonstrated as a lightweight Kotlin IoC: wiring uses single vs factory bindings, modules and start-up with startKoin, and retrieval via get() or constructor injection. Android specifics include viewModel() bindings, parameter injection into ViewModels, scoped components for session-like lifetimes, and Android extensions that give fragments/activities currentScope. Testing support shows an automated module verification function (checkModules) and simple module overrides to inject mocked dependencies so unit and hermetic tests run without the real network or DB.
AI-written summary · about
chapters (5)
related talks
28mInsert Koin
40mSimplify your Android development with Koin
31mKoin in Action - Dependency Injection for Kotlin
42mAndroid Architecture Design with Koin
49mDependency injection from zero to hero with Koin
47mAndroid Architecture Design with Koin
36mGetting big payouts with Koin
45mDependency Injection from Zero to Hero
