diff --git a/dana/src/main/java/info/nightscout/androidaps/dana/DanaFragment.kt b/dana/src/main/java/info/nightscout/androidaps/dana/DanaFragment.kt index 61e9658337..9348a8f864 100644 --- a/dana/src/main/java/info/nightscout/androidaps/dana/DanaFragment.kt +++ b/dana/src/main/java/info/nightscout/androidaps/dana/DanaFragment.kt @@ -168,6 +168,11 @@ class DanaFragment : DaggerFragment() { loopHandler.removeCallbacks(refreshLoop) } + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + // GUI functions @Synchronized fun updateGUI() {