~/talk

Dependency Injection You Can Start Today

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [android, engineering-leadership]
name:kobakei
links:none on file
slides:none on file

Explains dependency injection (DI) for Android apps: why DI removes hard-coded dependencies to make large apps easier to test and customize, and how to apply DI in Android projects. Compares and shows implementations with two DI containers—Dagger (Google’s popular solution) and Koin (a Kotlin-based alternative)—and covers how DI affects writing unit and UI tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26What is DI
  3. 2:32Basic DI patterns
  4. 4:22Android dependencies
  5. 6:40Managing lifetimes
  6. 8:51DI containers role
  7. 9:38Dagger2 overview
  8. 10:43Dagger2 modules & components
  9. 14:22Dagger Android injection
  10. 16:30Dagger2 tips
  11. 16:51Koin overview
  12. 17:57Koin modules & DI
  13. 19:27Koin ViewModel support
  14. 20:54Testing after DI
  15. 21:15Unit testing with DI
  16. 23:53Integration testing with DI
  17. 26:53Summary
~/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.