Code example for LocalActivityManager

Methods: saveInstanceState

0
    } 
 
    @Override 
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        outState.putBundle(KEY_STATE_BUNDLE, mLocalActivityManager.saveInstanceState());
    } 
 
    @Override 
    public void onResume() { 
        super.onResume(); 
        mLocalActivityManager.dispatchResume();
    } 
 
    @Override 
    public void onPause() { 
        super.onPause(); 
        mLocalActivityManager.dispatchPause(getActivity().isFinishing());
    } 
 
Experience pair programming with AI  Get Codota for Java