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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user