Code example for LocalActivityManager

Methods: saveInstanceState

0
	 
	@Override 
    public void onSaveInstanceState(Bundle outState) {
		if(DEBUG) Log.d(TAG, ".onSaveInstanceState()...");
        super.onSaveInstanceState(outState);
        outState.putBundle(KEY_STATE_BUNDLE, mLocalActivityManager.saveInstanceState());
    } 
	 
	@Override 
	public void onPause() { 
		if(DEBUG) Log.d(TAG, ".onAttach()...");
		mLocalActivityManager.dispatchPause(getActivity().isFinishing());
		super.onPause(); 
	} 
	 
	@Override 
	public void onStop() { 
		if(DEBUG) Log.d(TAG, ".onStop()...");
		super.onStop(); 
	}