Using Hilt instead of Koin?

(similar to Replacing Koin with Dagger?)

Hey @mmurphy, I was just wondering if you have an opinion on Hilt which seems to greatly simplify the use of Dagger?

It’s still very new with few resources available, so having it covered in Elements of Android Jetpack or Exploring Android would help a lot.

On the whole, I do not cover pre-release tech, unless that’s the point of the book (e.g., Elements of Android R). On occasion, I will put pre-release tech in Elements of Android Jetpack or Exploring Android, when it is unavoidable.

I am keeping an eye on Hilt and may use it in Elements of Android Jetpack for the Java side of the DI chapter (which right now is Kotlin-only, showing Koin). But that will not be until it reaches beta at minimum and probably not until it is stable.

If you were looking for me to address Hilt sooner than that, I apologize!

On the whole, I do not cover pre-release tech

Ah, sorry, I wasn’t aware of this! That makes sense though. Keeping an eye on it when it reaches beta or stable.