Dagger 2 same scope dependency
Published in
2 min readSep 21, 2019
In Dagger 2, there’s two limitation in term of component dependency.
- Component of no scope can’t depend on scoped component
- Component of scope can’t depend on another component of same scope
In my example of Setup Android Modules with Dagger 2, due to different module have different component, I can’t have them in the same scope, even though they don’t need…