Android Guides | Samples

Android.Widget.CursorAdapterFlags Enumeration

Syntax

[System.Flags]
public enum CursorAdapterFlags

Remarks

Members

Member NameDescription
AutoRequeryIf set the adapter will call requery() on the cursor whenever a content change notification is delivered. Implies CursorAdapterFlags.RegisterContentObserver.
None
RegisterContentObserverIf set the adapter will register a content observer on the cursor and will call CursorAdapter.OnContentChanged when a notification comes in. Be careful when using this flag: you will need to unset the current Cursor from the adapter to avoid leaks due to its registered observers. This flag is not needed when using a CursorAdapter with a CursorLoader.

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Widget.CursorAdapterFlags are listed below.

See Also: Enum

Public Fields

AutoRequeryCursorAdapterFlags. If set the adapter will call requery() on the cursor whenever a content change notification is delivered. Implies CursorAdapterFlags.RegisterContentObserver.
NoneCursorAdapterFlags.
RegisterContentObserverCursorAdapterFlags. If set the adapter will register a content observer on the cursor and will call CursorAdapter.OnContentChanged when a notification comes in. Be careful when using this flag: you will need to unset the current Cursor from the adapter to avoid leaks due to its registered observers. This flag is not needed when using a CursorAdapter with a CursorLoader.