Solved: Question about StateManager
Hello again, here I am again with a question.
I used the example of Kimmowich "Activity Translation" with the "StateManager" of Erel.
The story is that it works great, but I have a problem, when I leave the application and any other open, close it and get back into my application, I noticed that the settings do not save and StateManager makes my defaults, which I had not saved.
I've seen Erel put a solution I think it was for that, but I do not working.
What I like is if I answer there a way to permanently save the configuration as StateManager or is you have to use another system, because I have not been able to find anything concrete.
Greetings and excuse my English.
Hello again, here I am again with a question.
I used the example of Kimmowich "Activity Translation" with the "StateManager" of Erel.
The story is that it works great, but I have a problem, when I leave the application and any other open, close it and get back into my application, I noticed that the settings do not save and StateManager makes my defaults, which I had not saved.
I've seen Erel put a solution I think it was for that, but I do not working.
B4X:
Sub Activity_Pause (UserClosed As Boolean)
StateManager.SaveState(Activity, "Main")
StateManager.SaveSettings
End Sub
Greetings and excuse my English.
Last edited: