Loading core/java/android/widget/ArrayAdapter.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -312,10 +312,10 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable, ThemedSp } } /** /** * Control whether methods that change the list ({@link #add}, * Control whether methods that change the list ({@link #add}, {@link #addAll(Collection)}, * {@link #insert}, {@link #remove}, {@link #clear}) automatically call * {@link #addAll(Object[])}, {@link #insert}, {@link #remove}, {@link #clear}, * {@link #notifyDataSetChanged}. If set to false, caller must * {@link #sort(Comparator)}) automatically call {@link #notifyDataSetChanged}. If set to * manually call notifyDataSetChanged() to have the changes * false, caller must manually call notifyDataSetChanged() to have the changes * reflected in the attached view. * reflected in the attached view. * * * The default is true, and calling notifyDataSetChanged() * The default is true, and calling notifyDataSetChanged() Loading Loading
core/java/android/widget/ArrayAdapter.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -312,10 +312,10 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable, ThemedSp } } /** /** * Control whether methods that change the list ({@link #add}, * Control whether methods that change the list ({@link #add}, {@link #addAll(Collection)}, * {@link #insert}, {@link #remove}, {@link #clear}) automatically call * {@link #addAll(Object[])}, {@link #insert}, {@link #remove}, {@link #clear}, * {@link #notifyDataSetChanged}. If set to false, caller must * {@link #sort(Comparator)}) automatically call {@link #notifyDataSetChanged}. If set to * manually call notifyDataSetChanged() to have the changes * false, caller must manually call notifyDataSetChanged() to have the changes * reflected in the attached view. * reflected in the attached view. * * * The default is true, and calling notifyDataSetChanged() * The default is true, and calling notifyDataSetChanged() Loading