https://kotlinlang.org logo
#feed
Title
# feed
s

Sami Eljabali

01/02/2021, 7:03 PM
Dependency Injection for Beginners. I tried to make it as easy as possible to read: https://www.seljabali.com/blog/introduction-to-dependency-injection-and-its-popular-android-frameworks
👏 1
h

Hanno

01/02/2021, 7:40 PM
Koin is developed by jetbrains? Where is that information from :D
s

Sami Eljabali

01/02/2021, 7:45 PM
Thanks for reading @Hanno. I suppose I was thinking of ktor, while writing about it. Thanks for pointing it out. I've updated it.
h

Hanno

01/02/2021, 7:50 PM
Ah i c, nice Response time! Other than that, nice article, always appreciated when First di and service locator without frameworks is explained :)
s

Sami Eljabali

01/02/2021, 7:50 PM
Awesome, thanks!
e

edrd

01/04/2021, 8:34 PM
Since this is for beginners, I'd really reconsider encouraging the Service Locator anti-pattern instead of proper DI on the Koin section. It's possible to use it without Service Locator issues if you restrain
by inject
to the composition root. Also, a nitpick:
Copy code
public void start() {
 engine.start()
}
Should be:
Copy code
fun start() { 
  engine.start()
}
s

Sami Eljabali

01/05/2021, 5:32 AM
Thank you sir! Once I get around reading the article and updating accordingly, I'll report back to see if it looks alright to you.
😁 1
20 Views