Dependency injection - koin - datastore - Kmm
ismai117 opened this issue · 1 comments
ismai117 commented
Hi, how do we create an instance for datastore using Koin?
zsmb13 commented
To see how to create an instance, see the implementation of the getDataStore
functions in the DiceRoller sample app.
As far as this relates to Koin, make sure that the DataStore instance you've created is a singleton within your application.