Code example for AsyncTaskLoader

Methods: onReset, onStopLoading

0
		return  manager.getWeiboFavorites();
	} 
 
	@Override 
	protected void onReset() { 
		super.onReset(); 
		 
		onStopLoading(); 
		 
		if (updatedFavorites != null) {
			updatedFavorites = null;
		} 
	} 
 
	@Override 
	protected void onStopLoading() { 
		super.onStopLoading(); 
		 
		cancelLoad();
	} 
 
}