~/talk

Diving into Koin 3.2 & Koin Annotations 1.0

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [kotlin]
slides:none on file

Koin 3.2 adds a constructor DSL so you can declare dependencies with singleOf/factoryOf constructor DSL instead of hand-writing lots of get() calls, warns on constructors over ~10 args (planning ~15), and introduces an includes() for module hierarchy that flattens graphs and optimizes startup. Koin Annotations 1.0 uses Google KSP to generate DSL from annotations like KSP-powered @Single/@Factory annotations, supports component-scan, default generated module, multiplatform, and compiles a 1,000-component app in about 2 seconds.

AI-written summary · about

  1. 0:00Introduction to Koin
  2. 4:18Constructor DSL improvements
  3. 9:42DSL options and readability
  4. 12:16Module includes for scalability
  5. 16:32Constructor DSL full example
  6. 18:57Introducing Koin Annotations
  7. 21:06Annotating components
  8. 25:21Module scanning with annotations
  9. 27:51KSP generation and setup
  10. 31:27Koin Annotations setup guide
  11. 33:38Koin Annotations demos
  12. 34:22Koin roadmap and future
  13. 36:11Community 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.