Code example for GLSurfaceView

Methods: onPause

0
     
    @Override 
	public void onPause() { 
    	super.onPause(); 
    	TimerManager.getInstance().clear(); 
    	mSurfaceView.onPause();
    } 
 
    @Override 
	public void onStop() { 
    	super.onStop(); 
    } 
     
    @Override 
	public void onDestroy() { 
        super.onDestroy(); 
    	//mRajRenderer.onSurfaceDestroyed(); 
        unbindDrawables(mLayout);
        System.gc();
    }