From 269f3454d128237e82cbb57dac77c58ab7423aaf Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 18 Jan 2022 10:59:06 -0600 Subject: Fixed geofences retrieval in reports and lifecycle issue with unit details fragment --- .../android/details/information/UnitInformationFragment.kt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android') diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt index f046ccc..7966c5b 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt @@ -48,22 +48,12 @@ class UnitInformationFragment : Fragment() { super.onViewCreated(view, savedInstanceState) fetchInformation() - } - - override fun onResume() { - super.onResume() - setupObservers() } - override fun onStop() { - super.onStop() - - removeObservers() - } - override fun onDestroyView() { super.onDestroyView() + removeObservers() _binding = null } -- cgit v1.2.3