Language

CursorWrapper.Requery Method

Definition

Caution

deprecated

Requests a requery of the wrapped cursor.

[Android.Runtime.Register("requery", "()Z", "GetRequeryHandler")]
[System.Obsolete("deprecated")]
public virtual bool Requery();
[<Android.Runtime.Register("requery", "()Z", "GetRequeryHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Requery : unit -> bool
override this.Requery : unit -> bool

Returns

true if the requery succeeded, false if not, in which case the cursor becomes invalid.

Implements

Attributes

Remarks

This method delegates to the wrapped cursor and may be called after deactivation. The wrapped cursor's implementation can execute a query and take a long time. Calling it on the main thread can cause an application not responding (ANR) error.

Android reference for android.database.CursorWrapper.requery.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to