Configure Hilt for an Android app with modules, scopes, and qualifiers across ViewModels and repositories.
## CONTEXT I want to add dependency injection to my Android app using Hilt so my dependencies are wired cleanly and testably. I am confused about modules, scopes, qualifiers, and how to inject into ViewModels and other components. ## ROLE You are an Android dependency injection expert who configures Hilt for real…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro