diff options
| author | Romain Guy <romainguy@google.com> | 2013-01-09 20:16:37 -0800 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2013-01-09 20:16:37 -0800 |
| commit | 9c5d1b17bfae81c282cec8954e66963c86c81438 (patch) | |
| tree | 2f94305df1d4d83aa75b8026edd45392f9535057 /core/java/android/widget/ArrayAdapter.java | |
| parent | 5341cead27070656458750a789ba211a505b57b5 (diff) | |
Clarify javadoc and parameter names
Bug #7978741
Change-Id: If713e2e58524ace008797abc142f50b83bfa3c61
Diffstat (limited to 'core/java/android/widget/ArrayAdapter.java')
| -rw-r--r-- | core/java/android/widget/ArrayAdapter.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/java/android/widget/ArrayAdapter.java b/core/java/android/widget/ArrayAdapter.java index 44f04db058d5..97926a73cb18 100644 --- a/core/java/android/widget/ArrayAdapter.java +++ b/core/java/android/widget/ArrayAdapter.java @@ -97,11 +97,11 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable { * Constructor * * @param context The current context. - * @param textViewResourceId The resource ID for a layout file containing a TextView to use when + * @param resource The resource ID for a layout file containing a TextView to use when * instantiating views. */ - public ArrayAdapter(Context context, int textViewResourceId) { - init(context, textViewResourceId, 0, new ArrayList<T>()); + public ArrayAdapter(Context context, int resource) { + init(context, resource, 0, new ArrayList<T>()); } /** @@ -120,12 +120,12 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable { * Constructor * * @param context The current context. - * @param textViewResourceId The resource ID for a layout file containing a TextView to use when + * @param resource The resource ID for a layout file containing a TextView to use when * instantiating views. * @param objects The objects to represent in the ListView. */ - public ArrayAdapter(Context context, int textViewResourceId, T[] objects) { - init(context, textViewResourceId, 0, Arrays.asList(objects)); + public ArrayAdapter(Context context, int resource, T[] objects) { + init(context, resource, 0, Arrays.asList(objects)); } /** @@ -145,12 +145,12 @@ public class ArrayAdapter<T> extends BaseAdapter implements Filterable { * Constructor * * @param context The current context. - * @param textViewResourceId The resource ID for a layout file containing a TextView to use when + * @param resource The resource ID for a layout file containing a TextView to use when * instantiating views. * @param objects The objects to represent in the ListView. */ - public ArrayAdapter(Context context, int textViewResourceId, List<T> objects) { - init(context, textViewResourceId, 0, objects); + public ArrayAdapter(Context context, int resource, List<T> objects) { + init(context, resource, 0, objects); } /** |
