Hi Everyone! I'm currently investigating Jetpack c...
# android
j
Hi Everyone! I'm currently investigating Jetpack compose and how it might work for our project going forward, but we are heavy users of Dagger in the current world of Android. One project I've been looking around in is the JetNews app, and there is no use of Dagger or Hilt. Any idea how Dagger/Hilt will play with Compose? I'd imagine composables would end up being injectable, just like fragments and activities are right now.
Would appreciate any articles or references if this integration already exists 😄
z
You’ll probably have more luck in the #compose channel.
j
thanks!
m
These two are totally different. I can't think of a reason to inject a dependency to a Compose view, since the VM or whatever you are using has the responsibility to provide a model to b rendered in any way.