Assigned
Status Update
Comments
g....@gmail.com <g....@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Aurimas Liutikas <
Link:
Bump asynclayoutinflater to 1.1.0-beta01
Expand for full commit details
Bump asynclayoutinflater to 1.1.0-beta01
Bug: 399115645
Test: ./gradlew -p asynclayoutinflater updateApi
Change-Id: I4b3b530da253fc274eaf281a7c82556fcd463ebd
Files:
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/res-1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/restricted_1.1.0-beta01.txt
- M
asynclayoutinflater/asynclayoutinflater-appcompat/build.gradle
- A
asynclayoutinflater/asynclayoutinflater/api/1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater/api/res-1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater/api/restricted_1.1.0-beta01.txt
- M
libraryversions.toml
Hash: 5289ee6eecef7e8e62ece97f9a0e32213562fe36
Date: Tue Feb 25 11:27:57 2025
Description
SwipeRefreshLayout (1.1.0) has the following method, which is called quite frequently while pulling down the list:
mCircleView.bringToFront()
callsViewGroup#bringChildToFront
, which in turn callsrequestLayout()
andinvalidate()
.If
SwipeRefreshLayout
is part of a complex layout, the app starts dropping frames while pulling the list because of the repeated measurements.mCircleView.bringToFront()
could be called only when a new child is added to the SwipeRefreshLayout or only when interceptingMotionEvent.ACTION_DOWN
.