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
@@ -106,8 +106,7 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
new RecyclerView.OnScrollListener() {
@Override
public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
updateHeaderScroll(
((AllAppsRecyclerView) recyclerView).computeVerticalScrollOffset());
updateHeaderScroll(((AllAppsRecyclerView) recyclerView).getCurrentScrollY());
}
};