Code example for FragmentActivity

Methods: getChangingConfigurations, onDestroy

0
		Log.i(TAG, "onStop");
	} 
 
	@Override 
	protected void onDestroy() { 
		super.onDestroy(); 
		// Notification the activity will be destroyed 
		Log.i(TAG,
				"onDestroy " 
						// Log which, if any, configuration changed 
						+ Integer.toString(getChangingConfigurations(), 16));
	} 
 
	// //////////////////////////////////////////////////////////////////////////// 
	// Called during the lifecycle, when instance state should be saved/restored 
	// //////////////////////////////////////////////////////////////////////////// 
 
	@Override 
	protected void onSaveInstanceState(Bundle outState) {
		// Save instance-specific state 
		outState.putString("answer", state);