Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the main benefit of Hilt over manual dependency injection?

  1. A Compile-time generated code with lifecycle-aware scoping and no reflection
  2. B Runtime resolution flexibility
  3. C Smaller APK size guaranteed
  4. 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.

All Android MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as