Hilt

Extend the functionality of Dagger Hilt to enable dependency injection of certain classes from the androidx libraries.
Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
July 22, 2020 - - - 1.0.0-alpha02

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.0.0

Version 1.0.0-alpha02

July 22, 2020

androidx.hilt:hilt-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Bug Fixes

  • Fixed an issue of duplicate saved state keys when a non-Hilt injected ViewModel was requested from an @AndroidEntryPoint-annotated class. (b/158737069)
  • Fixed an issue in HiltWorkerFactory where it wouldn’t correctly initialize nested Worker classes annotated with @WorkerInject. (b/160524718)

Version 1.0.0-alpha01

June 10, 2020

androidx.hilt:hilt-*:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

The androidx.hilt package and libraries extend the functionality of Dagger Hilt to enable dependency injection of certain classes from the androidx libraries.