Code example for ActionBarActivity

Methods: onSaveInstanceState

0
	} 
 
	@Override 
	protected void onSaveInstanceState(Bundle outState) {
		outState.putInt(SAVED_INSTANCE_TITLE, mTitle);
		super.onSaveInstanceState(outState);
 
	} 
 
	@Override 
	protected void onPostCreate(Bundle savedInstanceState) {
		super.onPostCreate(savedInstanceState);
		// Sync the toggle state after onRestoreInstanceState has occurred. 
		mDrawerToggle.syncState();
	} 
 
	@Override 
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);
		mDrawerToggle.onConfigurationChanged(newConfig);
	}