OSDN Git Service

List all methods that change data in the docs
authorYigit Boyar <yboyar@google.com>
Fri, 19 Aug 2016 17:15:52 +0000 (10:15 -0700)
committerYigit Boyar <yboyar@google.com>
Fri, 19 Aug 2016 17:15:52 +0000 (10:15 -0700)
Bug: 27442518
Change-Id: I671e05d55b263eead42370cfefc305a7daf248d7

core/java/android/widget/ArrayAdapter.java

index 9d228cf..bbc50da 100644 (file)
@@ -312,10 +312,10 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable, ThemedSp
     }
 
     /**
-     * Control whether methods that change the list ({@link #add},
-     * {@link #insert}, {@link #remove}, {@link #clear}) automatically call
-     * {@link #notifyDataSetChanged}.  If set to false, caller must
-     * manually call notifyDataSetChanged() to have the changes
+     * Control whether methods that change the list ({@link #add}, {@link #addAll(Collection)},
+     * {@link #addAll(Object[])}, {@link #insert}, {@link #remove}, {@link #clear},
+     * {@link #sort(Comparator)}) automatically call {@link #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()