Which dependency injection should i use ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which dependency injection should i use ?

I want to use dependency injection in my project for the first time, please help me which one should i use ?

8th Sep 2019, 10:43 AM
Master Gaurav
Master Gaurav - avatar
1 Answer
0
Recently I was searching and experimenting two of the major DI. KOIN (service locator) & Dagger2 In my opinion: Dagger2 should be your 1st priority if you are going to work on large scale projects but for small to medium scale go for KOIN as it is easier than Dagger and have similar key concepts.
1st Feb 2020, 10:08 PM
Ameer Hamza Naveed
Ameer Hamza Naveed - avatar