Dependency Injection in Android with Dagger 2 and Kotlin

Hi @pascalhow! As you said it’s not common to use singleton for instances like a presenter or an http client. And that’s not what we’re doing! Dagger APIs are “misleading” (sorry for not pointing this out in the article) and are using the annotation @Singleton while you are not actually creating a singleton, but a scope. You can check the video of the talk linked in the article (by Jake Wharton, one of the author of Dagger 2) that explain everything about how Dagger 2 works (and better than me for sure!)