Code example for FragmentActivity

Methods: onResume

0
    	mSurfaceView.setRenderer(renderer);
    } 
     
    @Override 
    protected void onResume() { 
    	super.onResume(); 
    	mSurfaceView.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
    	mSurfaceView.onResume();
    } 
     
    @Override 
    protected void onPause() { 
    	super.onPause(); 
    	TimerManager.getInstance().clear(); 
    	mSurfaceView.onPause();
    } 
 
    @Override 
    protected void onStop() { 
    	super.onStop(); 
    }