I'm currently porting a desktop application that u...
# getting-started
s
I'm currently porting a desktop application that uses
java.util.prefs.Preferences
to Kotlin. Does anyone know of a decent wrapper to
Preferences
or a Kotlin alternative? russhwolf/multiplatform-settings adds suspend/flow wrappers. I'm looking for an easy way to get/put lists, maps, and objects to preferences. Android has really polluted the Kotlin search space. 90% of the results are talking about SharedPreferences or DataStore.
Sometimes asking a question leads to the answer even when there's no response. I looked at multiplatform-settings more and noticed an issue to support DataStore on desktop. So I can just use DataStore.
👌 1