Loading core/java/android/widget/AbsListView.java +2 −3 Original line number Diff line number Diff line Loading @@ -1095,9 +1095,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te */ private boolean contentFits() { final int childCount = getChildCount(); if (childCount != mItemCount) { return false; } if (childCount == 0) return true; if (childCount != mItemCount) return false; return getChildAt(0).getTop() >= 0 && getChildAt(childCount - 1).getBottom() <= mBottom; } Loading Loading
core/java/android/widget/AbsListView.java +2 −3 Original line number Diff line number Diff line Loading @@ -1095,9 +1095,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te */ private boolean contentFits() { final int childCount = getChildCount(); if (childCount != mItemCount) { return false; } if (childCount == 0) return true; if (childCount != mItemCount) return false; return getChildAt(0).getTop() >= 0 && getChildAt(childCount - 1).getBottom() <= mBottom; } Loading