Archie
08/07/2020, 8:54 AMHilt
for Android DI. I am wondering whats the recommended approach of where to define the Hilt
Modules. In a multi-module project, is it ok to define Hilt
modules in each module? So for example I have a UserModule (Android Submodule)
and with in it I define the Hilt
Module. Or is it better to define all Hilt
Modules inside the app
Module itself?Rafal
08/07/2020, 5:53 PMapi
instead of implementation
so you won't end up with non-existent class errorsDavid
08/07/2020, 7:39 PMdependencies
block. In the old days of Dagger 2.0 this made dagger scoping outside of subcomponents difficult. However in later Dagger component dependencies with varying lifecycles is permitted i'm told. Yet to try it out...moved to TyoeScript & React Native for my sins..😂