Member-only story

Koin Framework- Provide Interface Dependency (Part-2)- Most Underrated Framework🤔

Jayant Kumar🇮🇳
2 min readNov 7, 2021

--

Photo by Sergei A on Unsplash

This is gonna be the “second part” on Koin Framework, where we will see how to provide the dependency of interface through Koin.😍

Other parts of Koin Framework Link

Case- 1

You can see in the above code we have an interface “Demo” and “DemoImpl” class is implementing Demo interface (or proving the body for Demo) and in the Main class we are using Demo interface.Suppose you want to use Main class somewhere, so whenever we create the object of Main , we also have to…

--

--

Jayant Kumar🇮🇳
Jayant Kumar🇮🇳

Written by Jayant Kumar🇮🇳

Hello My name is Jayant Kumar, I am a software Engineer , specialist in Mobile Development (Android , IOS , Flutter , React Native and Ionic) from India 🇮🇳

No responses yet