~/talk

Inject your Jetpack Compose Application with Koin

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [android, developer-experience]
slides:none on file

Shows a concrete migration of the Now in Android sample from Dagger Hilt to Koin, using Koin AndroidX Compose 3.4.5 and Koin Compose multiplatform 1.0.3. Demonstrates that koinInject caches per-composable and drops instances when the composable is removed, that coinViewModel binds to activity/navigation and is usable in composables, and that rememberKoinModules can load and unload feature modules on the fly. Includes WorkManager integration and a testing API where verify covers about 80% of DI configuration checks.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:22Jetpack Compose paradigm shift
  3. 7:19Compose basics and recomposition
  4. 11:29Koin Compose API introduction
  5. 16:47ViewModel vs state holders
  6. 20:59Migrating Now in Android to Koin
  7. 24:34DSL configuration for data layer
  8. 31:19Use cases and feature modules
  9. 34:14WorkManager integration
  10. 35:37Testing and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.