Android.Content.CursorLoader Class
A loader that queries the Android.Content.ContentResolver and returns a Android.Database.ICursor.

See Also: CursorLoader Members

Syntax

[Android.Runtime.Register("android/content/CursorLoader", DoNotGenerateAcw=true)]
public class CursorLoader : AsyncTaskLoader

Remarks

A loader that queries the Android.Content.ContentResolver and returns a Android.Database.ICursor. This class implements the Android.Content.Loader protocol in a standard way for querying cursors, building on Android.Content.AsyncTaskLoader to perform the cursor query on a background thread so that it does not block the application's UI.

A CursorLoader must be built with the full information for the query to perform, either through the CursorLoader(Context, Android.Net.Uri, Android.Net.Uri, Android.Net.Uri, Android.Net.Uri, Android.Net.Uri) or creating an empty instance with CursorLoader(Context) and filling in the desired paramters with CursorLoader.Uri, CursorLoader.Selection, CursorLoader.SetSelectionArgs(String[]), CursorLoader.SortOrder, and CursorLoader.SetProjection(String[]).

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11