(was Google internal bug 4322817...)
The doc for
http://developer.android.com/reference/android/widget/ArrayAdapter.html#getItem(
int) is empty.
The source says:
/**
* {@inheritDoc}
*/
public T getItem(int position) {
return mObjects.get(position);
}
Perhaps it should have been an error to inherit empty doc?
In any case, it should be searching harder to find doc to inherit. In this
case, it could be found ArrayAdapter -> super BaseAdapter -> implements
ListAdapter -> implements Adapter, which is where getItem doc can be found:
/**
* Get the data item associated with the specified position in the data set.
*
* @param position Position of the item whose data we want within the adapter's
* data set.
* @return The data at the specified position.
*/
Object getItem(int position);
Original issue reported on code.google.com by e...@google.com on 11 Jul 2012 at 4:08
Original issue reported on code.google.com by
e...@google.com
on 11 Jul 2012 at 4:08