docs: Fixed typos in AdapterView Javadoc.

Replaced the word 'as' with 'has' and replaced 'id' with 'if'.

Test: make ds-docs

Bug: 36946939
Change-Id: I05828e2ee20309556ffbf56cff0093183dabc088
This commit is contained in:
Shrijana Ghimire
2018-06-11 17:14:13 -07:00
parent f8fe538f07
commit fb53deca41

View File

@@ -293,7 +293,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
/**
* @return The callback to be invoked with an item in this AdapterView has
* been clicked, or null id no callback has been set.
* been clicked, or null if no callback has been set.
*/
@Nullable
public final OnItemClickListener getOnItemClickListener() {
@@ -365,7 +365,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
/**
* @return The callback to be invoked with an item in this AdapterView has
* been clicked and held, or null id no callback as been set.
* been clicked and held, or null if no callback has been set.
*/
public final OnItemLongClickListener getOnItemLongClickListener() {
return mOnItemLongClickListener;