I’m building on top of the KMM template project. I...
# multiplatform
r
I’m building on top of the KMM template project. I need to save some data in Shared Preferences. How does my actual method access the Context object in the Platform class?
t
They solved this problem in the multiplatform-settings library https://github.com/russhwolf/multiplatform-settings/tree/master/multiplatform-settings/src
Take a look at Settings.Factory