Code example for FragmentActivity

Methods: onStop

0
    	mSurfaceView.onPause();
    } 
 
    @Override 
    protected void onStop() { 
    	super.onStop(); 
    } 
     
    @Override 
    protected void onDestroy() { 
        super.onDestroy(); 
    	mRajRenderer.onSurfaceDestroyed();
        unbindDrawables(mLayout);
        System.gc();
    } 
     
    private void unbindDrawables(View view) {
        if (view.getBackground() != null) {
            view.getBackground().setCallback(null);
        } 
        if (view instanceof ViewGroup && !(view instanceof AdapterView)) {