次の方法で共有


MockCursor.RegisterDataSetObserver(DataSetObserver) Method

Definition

Register an observer that is called when changes happen to the contents of the this cursors data set, for example, when the data set is changed via Requery(), Deactivate(), or Close().

[Android.Runtime.Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "GetRegisterDataSetObserver_Landroid_database_DataSetObserver_Handler")]
public virtual void RegisterDataSetObserver (Android.Database.DataSetObserver? observer);
[<Android.Runtime.Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "GetRegisterDataSetObserver_Landroid_database_DataSetObserver_Handler")>]
abstract member RegisterDataSetObserver : Android.Database.DataSetObserver -> unit
override this.RegisterDataSetObserver : Android.Database.DataSetObserver -> unit

Parameters

observer
DataSetObserver

the object that gets notified when the cursors data set changes.

Implements

Attributes

Remarks

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