Code example for LocalActivityManager

Methods: saveInstanceState

0
 
	@Override 
	public void onSaveInstanceState(Bundle outStateBundle) {
		super.onSaveInstanceState(outStateBundle);
		outStateBundle.putBundle(KEY_STATE_BUNDLE,
				localActivityManager.saveInstanceState());
	} 
 
	@Override 
	public void onResume() { 
		super.onResume(); 
		Log.d(TAG, "onResume(): " + getClass().getSimpleName());
		localActivityManager.dispatchResume();
	} 
 
	@Override 
	public void onPause() { 
		super.onPause(); 
		Log.d(TAG, "onPause(): " + getClass().getSimpleName());
		localActivityManager.dispatchPause(getActivity().isFinishing());
Connect your IDE to all the code out there  Get Codota for Java