次の方法で共有


CursorAdapter.ChangeCursor(ICursor) Method

Definition

Change the underlying cursor to a new cursor.

[Android.Runtime.Register("changeCursor", "(Landroid/database/Cursor;)V", "GetChangeCursor_Landroid_database_Cursor_Handler")]
public virtual void ChangeCursor (Android.Database.ICursor? cursor);
[<Android.Runtime.Register("changeCursor", "(Landroid/database/Cursor;)V", "GetChangeCursor_Landroid_database_Cursor_Handler")>]
abstract member ChangeCursor : Android.Database.ICursor -> unit
override this.ChangeCursor : Android.Database.ICursor -> unit

Parameters

cursor
ICursor

The new cursor to be used

Attributes

Remarks

Change the underlying cursor to a new cursor. If there is an existing cursor it will be closed.

Java documentation for android.widget.CursorAdapter.changeCursor(android.database.Cursor).

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