I am preparing a new version of one of my applications, and I made such huge changes in my application that I need to do some data conversion just after the application update was absolutely the first (before doing anything else). I realized that the best place for this would be in my class (which extends Application) in the onCreate () method. I tested it several times and it seems to work fine, but then I read the documentation:
The base class for those who need to maintain the global state of the application. You can provide your own implementation by specifying its name in your AndroidManifest.xml tag, [b], which will call this class will be created for you when the process for your application / package is created [/ b].
I seem to be right, but I'm not quite sure. Can you confirm / refute this?
source
share