Skip to content

Instantly share code, notes, and snippets.

@ioannisa
Created January 5, 2026 16:19
Show Gist options
  • Select an option

  • Save ioannisa/d00492127c06f63eb965c2224b00695f to your computer and use it in GitHub Desktop.

Select an option

Save ioannisa/d00492127c06f63eb965c2224b00695f to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment