Code example for AsyncTaskLoader

Methods: onReset, onStopLoading

0
		return  manager.getWeiboStatuses(updatedType);
	} 
 
	@Override 
	protected void onReset() { 
		super.onReset(); 
		 
		onStopLoading(); 
		 
		if (updatedStatuses != null) {
			updatedStatuses = null;
		} 
	} 
 
	@Override 
	protected void onStopLoading() { 
		super.onStopLoading(); 
		 
		cancelLoad();
	} 
	 
} 
Experience pair programming with AI  Get Codota for Java