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(mAlbumList != null) {
			deliverResult(mAlbumList);
		} 
		 
		if(takeContentChanged()) {
			forceLoad(); 
		} else if (mAlbumList == null) {
			forceLoad(); 
		} 
	} 
Experience pair programming with AI  Get Codota for Java