What is the main benefit of Hilt over manual dependency injection?
- A Compile-time generated code with lifecycle-aware scoping and no reflection
- B Runtime resolution flexibility
- C Smaller APK size guaranteed
- D It removes the need for ViewModels
Answer
Compile-time generated code with lifecycle-aware scoping and no reflection
A missing binding is a build failure rather than a runtime crash, which is the main advantage over runtime DI frameworks such as Koin.





