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

This commit is contained in:
TreeHugger Robot
2022-09-16 23:07:54 +00:00
committed by Android (Google) Code Review
12 changed files with 212 additions and 211 deletions
@@ -103,7 +103,8 @@ 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).getCurrentScrollY());
updateHeaderScroll(
((AllAppsRecyclerView) recyclerView).computeVerticalScrollOffset());
}
};