Code example for AsyncTaskLoader

Methods: onStartLoading

0
		return result;
	} 
 
	@Override 
	protected void onStartLoading() { 
		super.onStartLoading(); 
 
		if (result != null) {
			deliverResult(result);
		} else { 
			forceLoad();
		} 
	} 
 
	@Override 
	protected void onReset() { 
		super.onReset(); 
 
		onStopLoading(); 
 
		result = null;