Code example for GLSurfaceView

Methods: onResumesetRenderMode

0
    } 
     
    @Override 
	public void onResume() { 
    	super.onResume(); 
    	mSurfaceView.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
    	mSurfaceView.onResume();
    } 
     
    @Override 
	public void onPause() { 
    	super.onPause(); 
    	TimerManager.getInstance().clear(); 
    	mSurfaceView.onPause();
    } 
 
    @Override 
	public void onStop() { 
    	super.onStop(); 
    } 
Connect your IDE to all the code out there  Get Codota for Java