Code example for FragmentActivity

Methods: onRestoreInstanceState

0
    behavior.onSaveInstanceState(outState);
    super.onSaveInstanceState(outState);
  } 
  @Override 
  protected void onRestoreInstanceState(final Bundle savedInstanceState) {
    super.onRestoreInstanceState(savedInstanceState);
    behavior.onRestoreInstanceState(savedInstanceState);
  } 
  @Override 
  protected void onPause() { 
    behavior.onPause();
    super.onPause(); 
  } 
  @Override 
  protected void onStop() { 
    behavior.onStop();
    super.onStop(); 
  } 
  @Override 
  protected void onDestroy() { 
    behavior.onDestroy();