~/talk

Android, Compose, MP & Server - Inject them all with Coin

Talkat droidcon New York 2024 · 2024-09-19..09-20· [kotlin, android]
slides:none on file

Coin is a Kotlin DSL IOC container that drops Dagger-style codegen for a runtime container, claims Coin 4.0.0 is ready and requires Kotlin 2, and reports growth from 5 million to 11–12 million downloads per month. It shows concrete APIs: module/single/factory, byInject and byViewModel delegates, Compose helpers (coinInject, conViewModel), AndroidX Startup and lazy module loading to cut startup by ~25–45%, and KMP/ Ktor integrations with a KSP-based optional compile-time verifier.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Coin and Kotlin DSL design
  3. 4:19Singleton and factory patterns
  4. 6:25Scalability and testability
  5. 8:37Configuration safety tools
  6. 10:22Compile-time safety with KSP
  7. 12:52Startup performance in Coin 4.0
  8. 15:45Lazy module loading
  9. 16:08Dependency injection in Compose
  10. 18:58Coin context in Compose
  11. 20:45Isolated Coin contexts
  12. 22:52Kotlin Multiplatform integration
  13. 26:25Coin between Kotlin and Swift
  14. 28:56Sharing ViewModels
  15. 30:42Compose lifecycle compatibility
  16. 33:12Coin with Ktor backend
  17. 35:40Community and resources
  18. 37:04Versioning and future
  19. 38:51Experimental integrations
  20. 39:33Codzilla tools for Coin
~/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.