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

Commit 46ea4894 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 4fc51997: Merge "Update fast scroller item count after layoutChildren()"

* commit '4fc51997':
  Update fast scroller item count after layoutChildren()
parents 21adbd3a 4fc51997
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2135,15 +2135,15 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
            mRecycler.markChildrenDirty();
        }

        // TODO: Move somewhere sane. This doesn't belong in onLayout().
        if (mFastScroll != null) {
            mFastScroll.onItemCountChanged(childCount, mItemCount);
        }

        layoutChildren();
        mInLayout = false;

        mOverscrollMax = (b - t) / OVERSCROLL_LIMIT_DIVISOR;

        // TODO: Move somewhere sane. This doesn't belong in onLayout().
        if (mFastScroll != null) {
            mFastScroll.onItemCountChanged(getChildCount(), mItemCount);
        }
    }

    /**