I have a variable: Process_Globals Public MainVal As String.
I use it in several activities. When I launch my application, and then hide and restart - everything works fine. But if I hide the application and run many other applications, and then launch my application again, the value of this variable is rubbed. Why does it happen? How can i save and not lose the variable?
I use it in several activities. When I launch my application, and then hide and restart - everything works fine. But if I hide the application and run many other applications, and then launch my application again, the value of this variable is rubbed. Why does it happen? How can i save and not lose the variable?