1 min readAug 7, 2019
I’m slightly disappointed because I was hoping to learn why I’d want to pick a service locator over Dagger, but all I found is that the author finds the annotation-based configuration of Dagger “ugly”. Now I have to take into consideration “ServiceLocatorActivity” even though I could technically use getSystemService
to achieve this with much less code. Not sold on this approach at all, even if you use a service locator, you can make a simpler API for it.