Code example for AsyncTaskLoader

Methods: onStopLoading

0
		result = null;
	} 
 
	@Override 
	protected void onStopLoading() { 
		super.onStopLoading(); 
 
		cancelLoad();
	} 
 
	private void findOdfs(Map<String, String> result, File directory) {
		File[] files = directory.listFiles(filter);
		if (files == null)
			return; 
 
		for (File file : files) {
			if (file.isDirectory()) {
				findOdfs(result, file);
			} else { 
				Uri uri = Uri.fromFile(file);
Connect your IDE to all the code out there  Get Codota for Java