T trueboss323 Active Member Licensed User Longtime User Nov 4, 2017 #1 Hello, I would like to migrate all my existing user settings from Statemanager to work with KVS2 , is there an easy way to do this?
Hello, I would like to migrate all my existing user settings from Statemanager to work with KVS2 , is there an easy way to do this?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2017 #2 StateManager.settings returns the Map that holds the settings. You can put it as a single item in KVS2 or add each key/value separately: B4X: For Each k As String In StateManager.settings.Keys kvs2.Put(k, StateManager.settings.Get(k)) Next Upvote 0
StateManager.settings returns the Map that holds the settings. You can put it as a single item in KVS2 or add each key/value separately: B4X: For Each k As String In StateManager.settings.Keys kvs2.Put(k, StateManager.settings.Get(k)) Next