diff --git a/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/scrolling/VerticalGridScrollTest.kt b/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/scrolling/VerticalGridScrollTest.kt index 8acbbdfe..dfb09f33 100644 --- a/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/scrolling/VerticalGridScrollTest.kt +++ b/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/scrolling/VerticalGridScrollTest.kt @@ -253,6 +253,7 @@ class VerticalGridScrollTest : DpadRecyclerViewTest() { fun testMultipleFastDifferentSpanFocusChanges() { launchFragment() onRecyclerView("Change span size lookup") { recyclerView -> + recyclerView.setSmoothScrollMaxPendingMoves(25) recyclerView.setSpanSizeLookup(object : DpadSpanSizeLookup() { override fun getSpanSize(position: Int): Int { return if (position == 0 || position.rem(spanCount + 1) == 0) {