Brian Donovan
01/03/2022, 7:18 PMAlexandre Brown
01/03/2022, 8:23 PMstartKoin
4. Inside your composite root or inside your view, call get<YourInterface>()
or inject<YourInterface>
on the koin application to retrieve the dependency.
Note : Inside your object, you should not use the DI application directly to not tie your class to a DI framework. This is why the dependencies are passed in the constructor, the object never knows where it came from.
You can also check the official doc for better guidance https://insert-koin.io/