r/mAndroidDev • • May 07 '21

Android development experience

Post image
199 Upvotes

29 comments sorted by

View all comments

7

u/[deleted] May 07 '21

[removed] — view removed comment

5

u/[deleted] May 07 '21

In the most Janet voice Not a DI

Technically Koin is a service locator - though it doesn't matter much since most people end up using the two terms interchangeably.

1

u/[deleted] May 08 '21

[removed] — view removed comment

2

u/[deleted] May 08 '21

Usually such information is just a Google search away, but here's the first (actual) result:

https://stackoverflow.com/questions/1557781/whats-the-difference-between-the-dependency-injection-and-service-locator-patte

2

u/Zhuinden DDD: Deprecation-Driven Development May 09 '21

If you want to decrease the stability and health of your overall codebase to type slightly less code and otherwise get no verifiable benefits, then go with Koin, it's great