Merge "Revert "Updating the scroll calculation from recyclerView to avoid view inflation"" into tm-qpr-dev

This commit is contained in:
Hui Kang
2022-10-17 21:20:09 +00:00
committed by Android (Google) Code Review
12 changed files with 211 additions and 212 deletions

View File

@@ -68,7 +68,7 @@ public class FloatingHeaderView extends LinearLayout implements
mAnimator.cancel();
}
int current = -mCurrentRV.computeVerticalScrollOffset();
int current = -mCurrentRV.getCurrentScrollY();
boolean headerCollapsed = mHeaderCollapsed;
moved(current);
applyVerticalMove();