Code example for FragmentActivity

Methods: onPause

0
	protected void onDestroy(){ 
	        super.onDestroy(); 
	} 
	@Override 
	protected void onPause(){ 
	        super.onPause(); 
	        MobclickAgent.onPause(this);
	} 
	@Override 
	protected void onResume(){ 
	        super.onResume(); 
	        MobclickAgent.onResume(this);
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java