List of usage examples for android.content CursorLoader CursorLoader
public CursorLoader(Context context)
From source file:com.android.contacts.preference.DisplayOptionsPreferenceFragment.java
private CursorLoader createCursorLoader(Context context) { return new CursorLoader(context) { @Override/*from w w w . j av a 2s.c o m*/ protected Cursor onLoadInBackground() { try { return super.onLoadInBackground(); } catch (RuntimeException e) { return null; } } }; }