I am extending Application class to work with some global variables that need context. I know there is onCreate() method in the Application class that gets called before any
There is no such call back on a production device for the Application class.
The things you want to do should usually be done right after the changes are made, or in the onPause() of the respective app component.
onPause()