I'm looking at the developer doc
for the latest version to use Dagger Hilt
, but I can't find a version similar to what I've seen on the web.
In other web sample code that uses hilt
, I added hilt version 2.28
or 2.41
to gradle, but I can't find any similar version in developer doc .
Did something change?
Considering this document the latest version should be 2.38.1
Document: https://developer.android.com/training/dependency-injection/hilt-android
I do not think anything is changed.
You can also check the maven repository: https://mvnrepository.com/artifact/com.google.dagger/hilt-android
It looks like the latest is 2.41, although the Google Docs haven't been updated.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.