# android

Joe Jensen

07/09/2020, 11:37 PM
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 😄

Zach Klippenstein (he/him) [MOD]

07/09/2020, 11:45 PM
You’ll probably have more luck in the #compose channel.

Joe Jensen

07/09/2020, 11:46 PM

marios proto

07/10/2020, 9:14 AM
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.