1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

Disabled animations for subscription fragment

This commit is contained in:
Samuel Wu 2022-10-28 04:54:33 +11:00
parent a41aa01461
commit a44b7c9c9e

View File

@ -250,6 +250,7 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
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) }