diff --git a/app/src/main/java/com/example/todoapp/fragments/add/AddFragment.kt b/app/src/main/java/com/example/todoapp/fragments/add/AddFragment.kt index 0c8e08e..ebc1811 100644 --- a/app/src/main/java/com/example/todoapp/fragments/add/AddFragment.kt +++ b/app/src/main/java/com/example/todoapp/fragments/add/AddFragment.kt @@ -70,4 +70,8 @@ class AddFragment : Fragment() { } } + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } } \ No newline at end of file