Condividi tramite


IAdapter.RegisterDataSetObserver(DataSetObserver) Method

Definition

Register an observer that is called when changes happen to the data used by this adapter.

[Android.Runtime.Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "GetRegisterDataSetObserver_Landroid_database_DataSetObserver_Handler:Android.Widget.IAdapterInvoker, 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.Widget.IAdapterInvoker, 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 data set changes.

Attributes

Remarks

Register an observer that is called when changes happen to the data used by this adapter.

Java documentation for android.widget.Adapter.registerDataSetObserver(android.database.DataSetObserver).

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