Code example for AsyncTaskLoader

Methods: onStopLoading

0
			forceLoad();		
		} 
 
		@Override 
		protected void onStopLoading() { 
			super.onStopLoading(); 
			 
			// Attempt to cancel the current load task if possible. 
	        cancelLoad();
		} 
		 
		@Override 
		public void onCanceled(ArrayList<CameraItem> data) {
			super.onCanceled(data);
		} 
 
		@Override 
		protected void onReset() { 
			super.onReset(); 
			 
	        // Ensure the loader is stopped