Code example for AsyncTaskLoader

Methods: onStopLoading

0
	} 
 
	@Override 
	protected void onStopLoading() { 
		Log.i(TAG, "onStartLoading");
		super.onStopLoading(); 
		// Attempt to cancel the current load task if possible. 
		cancelLoad();
	} 
 
	@Override 
	public void onCanceled(List<AlbumInfo> data) {
		super.onCanceled(data);
		Log.i(TAG, "onCanceled");
		// At this point we can release the resources associated with 'data' 
		// if needed. 
		onReleaseResources(data);
	} 
 
	@Override 
	protected void onReset() {