Android.Test.Mock.MockCursor.RegisterDataSetObserver Method
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 Android.Database.ICursor.Requery, Android.Database.ICursor.Deactivate, or Android.Database.ICursor.Close.

Syntax

[Android.Runtime.Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "GetRegisterDataSetObserver_Landroid_database_DataSetObserver_Handler")]
public virtual void RegisterDataSetObserver (Android.Database.DataSetObserver observer)

Parameters

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

Remarks

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 Android.Database.ICursor.Requery, Android.Database.ICursor.Deactivate, or Android.Database.ICursor.Close.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8