Hey! In efforts to providing a single instance of ...
# dagger
h
Hey! In efforts to providing a single instance of
Retrofit
for my application, I'm using the
Singleton
scope in my network module which is then included in the
ApplicationComponent
with the same
Singleton
scope. But in order to do that I've to add network dependencies to my
app
module too. Is it possible to keep my retrofit instance singleton across application without adding network dependencies in my app module?
g
But in order to do that I’ve to add network dependencies to my 
app
 module too
Why do you think so? Other dependencies may be a part of other module
To make only one iinstance of retrofit is enough to mark it as singleton