Android Question StateManager - removing keys?

MattC

Member
Licensed User
Longtime User
Trying to clean up after myself here - is it possible to completely remove a key in the Statemanager code module? Or something I can set a key to that removes it? Or should I not bother?
 
The truth is that there is no good reason to use the settings feature of StateManager. You should use KeyValueStore2 instead.

You can add this method:
Code:
Public Sub RemoveSetting (Key As String)
If settings.IsInitialized  Then settings.Remove(Key)
End Sub
Thank you!
 
Upvote 0
Back
Top