~/talk

Android Architecture Design with Koin

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [kotlin, developer-experience]
slides:none on file

Koin is a Kotlin DI library focused on constructor injection and a small DSL; the project has 7K stars and about 5M downloads/year. Version 3 merges Android modules so you import one artifact, adds Jetpack Compose and Jetpack Navigation support including nav graph scoped viewModel, and documents scope patterns (scoped, factory, single, activity retain). A KSP-based compiler prototype aims to generate module bindings to remove repetitive get calls and a benchmark shows ~10,000 components generated in ~5s.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:06What's new in Koin 3.x
  3. 3:40Core concepts of Koin
  4. 6:10MVVM architecture with Koin
  5. 9:27Handling multiple data sources
  6. 12:43ViewModel setup with Koin
  7. 14:34MVP pattern with Koin
  8. 16:20Organizing modules in Koin
  9. 17:04Clean architecture with Koin
  10. 19:58Understanding scopes in Koin
  11. 24:23Android scope API
  12. 26:30Navigation graph scopes
  13. 27:34Koin with Jetpack Compose
  14. 29:19Koin for Kotlin Multiplatform
  15. 32:15Scaling Koin with DSL limits
  16. 34:45Koin compiler proposal with KSP
  17. 37:14Module organization alternatives
  18. 40:28Future of Koin and wrap-up
~/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.