aboutsummaryrefslogtreecommitdiff
path: root/androidApp
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp')
-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
}