Jul 25, 2017 · 1 min read
Hi, nice article, thanks!
I have one correction, you didn’t use @Scope on your module, by default Dagger Factory will create new instance every time when somebody attend to get provided object.
For example
@Provides OkHttpClient providesOkHttpClient(OkHttpClient.Builder okHttpClientBuilder) {
}
Will create OkHttpClient everytime, when it provided somewhere
