Join Slack
Powered by
This message was deleted.
# dagger
s
Slackbot
04/09/2021, 7:15 AM
This message was deleted.
➕ 1
c
Colton Idle
04/09/2021, 9:57 AM
Although I'm in the same boat (just started using hilt and multi modules last week) I haven't integrated DI into the other modules yet... But you didn't really ask a question... do you have anything specific?
☝️ 2
p
Pavel Sidyakin
04/09/2021, 11:27 AM
In my current project, we do not use dagger outside modules. I.e. we use dagger internally only in modules. Outside modules only usual interfaces are available. For module gluing we use Component Holder pattern. Further reading:
https://proandroiddev.com/modularization-of-android-applications-in-2021-a79a590d5e5b
Example:
https://github.com/PavelSidyakin/WeatherForecast
j
Jeremy
04/09/2021, 11:44 PM
Yes we use dagger in multi module, we just migrated to Hilt, previously just using subcomponents. Do you have a specific question or issue?
Jeremy
04/09/2021, 11:47 PM
componentholder looks fine but there is more boilerplate
a
amirhosen.ebrahimi
04/11/2021, 12:24 PM
I use dagger in my multi module project . my module is daynamic feature . it is too hard
j
Jeremy
04/12/2021, 11:04 PM
My main confusion w/ dagger espec. in multi module is every app/team does it very different. I think that is the main sales pitch of hilt
23
Views
Open in Slack
Previous
Next