Use getLoaderManager().restartLoader(LOADER_ID, null, MainActivity.this); to call onCreateLoader .
An example of an Android developer site .
private String filter; public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.action_filter : filter = "COLUMN_NAME = value"; getLoaderManager().restartLoader(LOADER_ID, null, MainActivity.this); break; default: break; } return super.onOptionsItemSelected(item); } @Override public android.content.Loader<Cursor> onCreateLoader(int id, Bundle args) { return new CursorLoader( MainActivity.this,
source share