diff options
Diffstat (limited to 'core/java/android/widget/AdapterView.java')
| -rw-r--r-- | core/java/android/widget/AdapterView.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/widget/AdapterView.java b/core/java/android/widget/AdapterView.java index dd01251cf9b9..6c192563658e 100644 --- a/core/java/android/widget/AdapterView.java +++ b/core/java/android/widget/AdapterView.java @@ -202,7 +202,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { * The last selected position we used when notifying */ int mOldSelectedPosition = INVALID_POSITION; - + /** * The id of the last selected position we used when notifying */ @@ -382,7 +382,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { * position is different from the previously selected position or if * there was no selected item.</p> * - * Impelmenters can call getItemAtPosition(position) if they need to access the + * Implementers can call getItemAtPosition(position) if they need to access the * data associated with the selected item. * * @param parent The AdapterView where the selection happened @@ -778,8 +778,8 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { // We are now GONE, so pending layouts will not be dispatched. // Force one here to make sure that the state of the list matches // the state of the adapter. - if (mDataChanged) { - this.onLayout(false, mLeft, mTop, mRight, mBottom); + if (mDataChanged) { + this.onLayout(false, mLeft, mTop, mRight, mBottom); } } else { if (mEmptyView != null) mEmptyView.setVisibility(View.GONE); @@ -1304,4 +1304,4 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { structure.setAutofillOptions(options); } } -}
\ No newline at end of file +} |
