Code example for AsyncTaskLoader

Methods: onCanceled

0
	        cancelLoad();
		} 
		 
		@Override 
		public void onCanceled(ArrayList<CameraItem> data) {
			super.onCanceled(data);
		} 
 
		@Override 
		protected void onReset() { 
			super.onReset(); 
			 
	        // Ensure the loader is stopped 
	        onStopLoading();			 
		} 
		 
	} 
 
	private class CameraImageAdapter extends ArrayAdapter<CameraItem> {
		private final LayoutInflater mInflater;