Each state in the Activity lifecycle has a corresponding callback method you can override in your Activity class. The lifecycle methods are onCreate() , onStart() , onPause() , onRestart() , onResume() , onStop() , onDestroy() .