ICursor.RegisterDataSetObserver(DataSetObserver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterDataSetObserver (Android.Database.DataSetObserver? observer);
[<Android.Runtime.Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "GetRegisterDataSetObserver_Landroid_database_DataSetObserver_Handler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterDataSetObserver : Android.Database.DataSetObserver -> unit
Parameters
- observer
- DataSetObserver
the object that gets notified when the cursors data set changes.
- Attributes
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 #requery()
, #deactivate()
, or #close()
.
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.