다음을 통해 공유


BaseAdapter.NotifyDataSetChanged Method

Definition

Notifies the attached observers that the underlying data has been changed and any View reflecting the data set should refresh itself.

[Android.Runtime.Register("notifyDataSetChanged", "()V", "GetNotifyDataSetChangedHandler")]
public virtual void NotifyDataSetChanged ();
[<Android.Runtime.Register("notifyDataSetChanged", "()V", "GetNotifyDataSetChangedHandler")>]
abstract member NotifyDataSetChanged : unit -> unit
override this.NotifyDataSetChanged : unit -> unit
Attributes

Remarks

Notifies the attached observers that the underlying data has been changed and any View reflecting the data set should refresh itself.

Java documentation for android.widget.BaseAdapter.notifyDataSetChanged().

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