Lifecycle methods are set of methods which get executed when application enters into a specific state. Following are such methods:
OnStart
OnSleep
OnResume