Configure Hilt dependency injection with proper scoping, modules, and constructor injection in Android. Use when setting up Hilt DI, defining modules, or configuring component scoping.
83
81%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
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.4c72e76
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.