From 838e40e054daf017313f210ec71ba1bf4f92e728 Mon Sep 17 00:00:00 2001 From: Michael Totschnig Date: Tue, 22 Aug 2023 23:58:11 +0200 Subject: [PATCH] Fixes #1249 --- .../java/org/totschnig/myexpenses/fragment/PartiesList.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/myExpenses/src/main/java/org/totschnig/myexpenses/fragment/PartiesList.kt b/myExpenses/src/main/java/org/totschnig/myexpenses/fragment/PartiesList.kt index 9da1c27304..8d36410c04 100644 --- a/myExpenses/src/main/java/org/totschnig/myexpenses/fragment/PartiesList.kt +++ b/myExpenses/src/main/java/org/totschnig/myexpenses/fragment/PartiesList.kt @@ -114,6 +114,10 @@ class PartiesList : Fragment(), OnDialogResultListener { } } + override fun onViewDetachedFromWindow(holder: ViewHolder) { + holder.binding.checkBox.setOnCheckedChangeListener(null) + } + override fun onCurrentListChanged( previousList: MutableList, currentList: MutableList