Code example for Fragment

Methods: onSaveInstanceState

0
	// Called during the lifecycle, when instance state should be saved/restored 
	// //////////////////////////////////////////////////////////////////////////// 
 
	@Override 
	public void onSaveInstanceState(Bundle toSave) {
		super.onSaveInstanceState(toSave);
		Log.i(TAG, "onSaveinstanceState");
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE