Created
June 29, 2012 20:35
-
-
Save caseycrites/3020485 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 33 /** | |
| 32 * If set the adapter will call requery() on the cursor whenever a content change | |
| 31 * notification is delivered. Implies {@link #FLAG_REGISTER_CONTENT_OBSERVER}. | |
| 30 * | |
| 29 * @deprecated This option is discouraged, as it results in Cursor queries | |
| 28 * being performed on the application's UI thread and thus can cause poor | |
| 27 * responsiveness or even Application Not Responding errors. As an alternative, | |
| 26 * use {@link android.app.LoaderManager} with a {@link android.content.CursorLoader}. | |
| 25 */ | |
| 24 @Deprecated | |
| 23 public static final int FLAG_AUTO_REQUERY = 0x01; | |
| 22 | |
| 21 /** | |
| 20 * If set the adapter will register a content observer on the cursor and will call | |
| 19 * {@link #onContentChanged()} when a notification comes in. Be careful when | |
| 18 * using this flag: you will need to unset the current Cursor from the adapter | |
| 17 * to avoid leaks due to its registered observers. This flag is not needed | |
| 16 * when using a CursorAdapter with a | |
| 15 * {@link android.content.CursorLoader}. | |
| 14 */ | |
| 13 public static final int FLAG_REGISTER_CONTENT_OBSERVER = 0x02; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment