Code example for Fragment

Methods: onPause

1
  } 
 
  @Override 
  public void onPause() { 
    Log.d(getClass().getSimpleName(), "onPause()");
    super.onPause(); 
  } 
 
  @Override 
  public void onStop() { 
    Log.d(getClass().getSimpleName(), "onStop()");
    super.onStop(); 
  } 
 
  @Override 
  public void onDestroyView() { 
    Log.d(getClass().getSimpleName(), "onDestroyView()");
    super.onDestroyView(); 
  } 
 
Experience pair programming with AI  Get Codota for Java