Using Hilt instead of Koin?
from the CommonsWare Community archivesAt July 13, 2020, 6:28pm, fstanis asked:
(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.
At July 13, 2020, 9:18pm, mmurphy replied:
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!
At July 17, 2020, 12:41pm, fstanis replied:
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.