Code example for FragmentActivity

Methods: onPause

0
	return mTaskExecutor != null;
    } 
 
    @Override 
    public void onPause(){ 
	super.onPause(); 
	if (mTaskExecutor != null)
	    mTaskExecutor.clean();
    } 
 
    @Override 
    public void onResume(){ 
	super.onResume(); 
	TaskExecutorService.requestTaskExecutorReference(specifyServiceMode(), specifyAutoexecMode(), this, this, this);
    } 
 
    @Override 
    public void getTaskExecutorReference(TaskExecutor taskExecutor){
	mTaskExecutor = taskExecutor;
	taskExecutorReferenceAvailable(); 
	mTaskExecutor.dirty(this, this);