what's the difference between @component & @SubComponent in dagger2? When to use which one of those?
Can you provide examples / code / github or ebook? thanks
what's the difference between @component & @SubComponent in dagger2? When to use which one of those?
Can you provide examples / code / github or ebook? thanks
this is duplicate of another question. In fact, SubComponent do have a dependency on the Component in dagger, and can't leave without the component.
This is realted to this post : Dagger 2 subcomponents vs component dependencies.