aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-18 10:59:06 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-18 10:59:06 -0600
commit269f3454d128237e82cbb57dac77c58ab7423aaf (patch)
tree65e7d4afe4226f362c6832beb3919faf05b977e0 /androidApp/src/main/java/mx/trackermap/TrackerMap
parent89a3559823000e23c4898b79a3225d1cd8c0bb3b (diff)
downloadetbsa-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/java/mx/trackermap/TrackerMap')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt12
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
}