Android.Widget.ArrayAdapter.SetNotifyOnChange Method
Control whether methods that change the list (ArrayAdapter`1.add(T), ArrayAdapter`1.insert(T, int), ArrayAdapter`1.remove(T), ArrayAdapter`1.clear()) automatically call ArrayAdapter`1.notifyDataSetChanged().

Syntax

[Android.Runtime.Register("setNotifyOnChange", "(Z)V", "GetSetNotifyOnChange_ZHandler")]
public virtual void SetNotifyOnChange (bool notifyOnChange)

Parameters

notifyOnChange
if true, modifications to the list will automatically call ArrayAdapter`1.notifyDataSetChanged()

Remarks

Control whether methods that change the list (ArrayAdapter`1.add(T), ArrayAdapter`1.insert(T, int), ArrayAdapter`1.remove(T), ArrayAdapter`1.clear()) automatically call ArrayAdapter`1.notifyDataSetChanged(). If set to false, caller must manually call notifyDataSetChanged() to have the changes reflected in the attached view. The default is true, and calling notifyDataSetChanged() resets the flag to true.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1