From a44b7c9c9e9293d180baedde056a43c7c610d76c Mon Sep 17 00:00:00 2001 From: Samuel Wu Date: Fri, 28 Oct 2022 04:54:33 +1100 Subject: [PATCH] Disabled animations for subscription fragment --- .../schabi/newpipe/local/subscription/SubscriptionFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt b/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt index 151e14cab..731d08fea 100644 --- a/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt +++ b/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt @@ -250,6 +250,7 @@ class SubscriptionFragment : BaseStateFragment() { spanSizeLookup = groupAdapter.spanSizeLookup } binding.itemsList.adapter = groupAdapter + binding.itemsList.itemAnimator = null viewModel = ViewModelProvider(this)[SubscriptionViewModel::class.java] viewModel.stateLiveData.observe(viewLifecycleOwner) { it?.let(this::handleResult) }