Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb53deca authored by Shrijana Ghimire's avatar Shrijana Ghimire
Browse files

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
parent f8fe538f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;