Android.Database.AbstractWindowedCursor Class
A base class for Cursors that store their data in Android.Database.CursorWindows.

See Also: AbstractWindowedCursor Members

Syntax

[Android.Runtime.Register("android/database/AbstractWindowedCursor", DoNotGenerateAcw=true)]
public abstract class AbstractWindowedCursor : AbstractCursor

Remarks

A base class for Cursors that store their data in Android.Database.CursorWindows.

The cursor owns the cursor window it uses. When the cursor is closed, its window is also closed. Likewise, when the window used by the cursor is changed, its old window is closed. This policy of strict ownership ensures that cursor windows are not leaked.

Subclasses are responsible for filling the cursor window with data during AbstractCursor.OnMove(int, System.Int32), allocating a new cursor window if necessary. During AbstractCursor.Requery, the existing cursor window should be cleared and filled with new data.

If the contents of the cursor change or become invalid, the old window must be closed (because it is owned by the cursor) and set to null.

[Android Documentation]

Requirements

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