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();
	} 
 
}