From 2c86e2f91e206b5030c80c3a4ae0f6597d6d4622 Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Fri, 24 Apr 2020 00:24:40 -0300 Subject: [PATCH] Disable supportsPredictiveItemAnimations --- .../antimine/common/level/widget/FixedGridLayoutManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt index 66243cd1..8af4af68 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt @@ -32,7 +32,7 @@ class FixedGridLayoutManager( private var firstChangedPosition = 0 private var changedPositionCount = 0 - override fun supportsPredictiveItemAnimations(): Boolean = true + override fun supportsPredictiveItemAnimations(): Boolean = false override fun onItemsRemoved(recyclerView: RecyclerView, positionStart: Int, itemCount: Int) { firstChangedPosition = positionStart