Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure Hilt dependency injection with proper scoping, modules, and constructor injection in Android. Use when changing the production Hilt graph; defer test overrides, Room wiring, navigation-specific scopes, and generic DI explanations to their specific skills.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -28% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -65% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -32% | 0% |
Application class with @HiltAndroidApp.@AndroidEntryPoint.See module templates for bootstrap and module examples.
@Binds (abstract class) over @Provides when possible — generates smaller code.@InstallIn (SingletonComponent, ViewModelComponent).See module templates for @Binds examples.
@Inject constructor(...) over field injection.@AssistedInject for runtime parameters.Other measured skills in the registry, with their headline benchmark lift.