android/kotlin-multiplatform-samples

Dependency injection - koin - datastore - Kmm

ismai117 opened this issue · 1 comments

Hi, how do we create an instance for datastore using Koin?

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.