compose-multiplatform
compose-multiplatform copied to clipboard
How to manage data storage on desktop?
On the desktop side, if I need to manage some new files generated, how should I store them? I haven't found relevant tutorials. These rules are similar to those on Android: https://developer.android.com/training/data-storage
I'm an Android Developer, so I don't know much about desktop development. I'm not sure if I need to find some desktop native related content to learn. So i first ask this question, thx for read.
Hello! What kind of files do you want to store? If it is just pictures, you can check imageviewer app as an example
I have similar questions, but what I want to know is whether I can use Jetpack DataStore directly on Desktop
androidx.datastore:datastore-core
does not have Android dependceny but it is not working in Windows for now, I am using Realm as a solution and it's very promising.
I have some use cases for this one as well. I could use Preferences
...
Hmm, would this DataStore be built on Preferences
, or is there more to it than that? There are some pretty sharp limitations of what Java lets you store.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.