fix: recycled stat item

This commit is contained in:
rebelonion
2024-03-17 17:35:59 -05:00
parent 9c0861a8e4
commit 89a54b4509
2 changed files with 32 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ class StatsFragment :
binding.statisticList.adapter = adapter
binding.statisticList.setHasFixedSize(true)
binding.statisticList.recycledViewPool.setMaxRecycledViews(0, 0)
binding.statisticList.isNestedScrollingEnabled = true
binding.statisticList.layoutManager = LinearLayoutManager(requireContext())
binding.statisticProgressBar.visibility = View.VISIBLE