Code example for AsyncTaskLoader

Methods: onStartLoading

0
		super(context);
	} 
 
	@Override 
	protected void onStartLoading() { 
		super.onStartLoading(); 
		Log.d(TAG, "Force loading of " + TAG);
		forceLoad();
	} 
 
	@Override 
	public Cursor loadInBackground() {
		DbHelper helper = DbHelper.getDbHelpder(getContext());
		return helper.findTimeline();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE