Code example for AsyncTaskLoader

Methods: forceLoad

0
		// Nothing to do here for a simple List 
	} 
	 
	@Override 
	public void forceLoad() { 
		super.forceLoad(); 
	} 
	 
	@Override 
	protected void onStartLoading() { 
		if(mArtistList != null) {
			deliverResult(mArtistList);
		} 
		 
		if(takeContentChanged()) {
			forceLoad(); 
		} else if (mArtistList == null) {
			forceLoad(); 
		} 
	} 
Connect your IDE to all the code out there  Get Codota for Java