| Manual DI | With a Framework |
|---|---|
| You write the container class | Framework generates/manages it |
| You manually track dependencies | Framework builds the dependency graph |
| You manage object lifecycles | Framework handles scoping automatically |
| Errors surface at runtime | Errors caught at compile time (Hilt) or startup (Koin) |
| Android components need workarounds | Framework integrates directly with Activities, Fragments, ViewModels |
Created
January 5, 2026 16:19
-
-
Save ioannisa/d00492127c06f63eb965c2224b00695f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment