Code example for Fragment

Methods: onDestroy

0
		fragmentInteraction = (SearchFragmentInteraction) activity;
	} 
 
	@Override 
	public void onDestroy() { 
		super.onDestroy(); 
		Log.i(TAG, "onDestroy"); //$NON-NLS-1$
		closeDB(); 
	} 
 
	@Override 
	public void onPause() { 
		super.onPause(); 
		if (localisationCallBack != null) {
			localisationCallBack.onPause();
		} 
	} 
 
	@Override 
	public void onResume() { 
Experience pair programming with AI  Get Codota for Java