From 0324cbd4232ecb7d52f9c80236c243d4296c0a0a Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Tue, 18 Jun 2024 23:58:49 +0200 Subject: [PATCH] Remove unused method call --- .../dpadrecyclerview/layoutmanager/PivotLayoutManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/PivotLayoutManager.kt b/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/PivotLayoutManager.kt index b6f5a237..f6353f62 100644 --- a/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/PivotLayoutManager.kt +++ b/dpadrecyclerview/src/main/java/com/rubensousa/dpadrecyclerview/layoutmanager/PivotLayoutManager.kt @@ -139,7 +139,6 @@ class PivotLayoutManager(properties: Properties) : RecyclerView.LayoutManager(), // If we have focus, save it temporarily since the views will change and we might lose it hadFocusBeforeLayout = hasFocus() scroller.cancelSmoothScroller() - pivotSelector.onLayoutChildren(state) pivotLayout.onLayoutChildren(recycler, state) layoutCompletedListener?.onLayoutCompleted(state) }