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

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

No files matched your search

@@ -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());
}
};