I'm trying to understand how the Application class.
I've noticed that need to declare it in <application>
manifest within the tag and then can access the variables in other classes as they were global variables. And even out of the application the value of these varieties do not change.
However, if you unplug the phone, the next time you turn it on and start applying the value of the variables returned to its initial state. I wonder if you can maintain the state of variables when we turned off the phone and reconnect it?