r/androiddev•9 yr. agobleeding182Providing Interface Implementations with DaggerArticleblog.davidmedenjak.com/android/2017/04/28/dag...blog.davidmedenjak.comPosted Apr 28, 2017, 8:05 PM UTC52ShareSave
That's great except you cannot have two scoped component dependencies.
This example works only because both components are unscoped.
There is some way to make a similar setup work with
@Module(subcomponents=, but I'm not sure how that works unfortunately.It also works with both components scoped, but as you said, there can only be one scoped component dependency. I agree, that's a limitation
I think you are referencing this setup: https://google.github.io/dagger/subcomponents.html#subcomponents-for-encapsulation
Gotta give this a try