From 30b75c9abcc2f29c845764601a7400d490ae2ec6 Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Thu, 11 Jul 2024 00:45:44 +0200 Subject: [PATCH] Fix unnecessary layout request --- .../dpadrecyclerview/layoutmanager/scroll/BaseSmoothScroller.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/scroll/BaseSmoothScroller.kt b/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/scroll/BaseSmoothScroller.kt index 94c8f8a0..0e578a45 100644 --- a/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/scroll/BaseSmoothScroller.kt +++ b/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/scroll/BaseSmoothScroller.kt @@ -52,7 +52,6 @@ internal open class BaseSmoothScroller( layoutInfo.getRecyclerView()?.apply { postOnAnimation { stopScroll() - requestLayout() } } }