Hi, I made a library that can save mutable state to local. When app restarts, it will restore values from local.
https://github.com/Kyant0/DataSaver
Just use like this:
var a by rememberDataSaverState("a", 2023)
And it supports list and map, and their operations.
Hope it may help.
z
Zach Klippenstein (he/him) [MOD]
05/15/2023, 11:12 PM
haven’t read the readme, but how is this different from