diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-18 10:59:06 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-18 10:59:06 -0600 |
commit | 269f3454d128237e82cbb57dac77c58ab7423aaf (patch) | |
tree | 65e7d4afe4226f362c6832beb3919faf05b977e0 /androidApp/src/main | |
parent | 89a3559823000e23c4898b79a3225d1cd8c0bb3b (diff) | |
download | etbsa-trackermap-mobile-269f3454d128237e82cbb57dac77c58ab7423aaf.tar.gz etbsa-trackermap-mobile-269f3454d128237e82cbb57dac77c58ab7423aaf.tar.bz2 etbsa-trackermap-mobile-269f3454d128237e82cbb57dac77c58ab7423aaf.zip |
Fixed geofences retrieval in reports and lifecycle issue with unit details fragment
Diffstat (limited to 'androidApp/src/main')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt | 12 |
1 files changed, 1 insertions, 11 deletions
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 } |