Code example for AsyncTaskLoader

Methods: onLoadInBackground

0
	} 
 
	@Override 
	protected T onLoadInBackground() { 
		startTime = System.currentTimeMillis();
		return super.onLoadInBackground(); 
	} 
 
	@Override 
	protected void onStartLoading() { 
		if(!mPause)
			forceLoad();
	} 
 
	public void pause(boolean pause) {
		mPause = pause;
	} 
 
	public boolean isPaused() { 
		return mPause;
	}