Code example for AsyncTaskLoader

Methods: onStartLoading

0
		this.forStatus = forStatus;
	} 
 
	@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.findConversationForStatus(forStatus);
	} 
}