diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-22 03:38:51 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-22 03:38:51 -0600 |
commit | 35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d (patch) | |
tree | e46e4011d0c1555b7ee1a6da5199da39cb5b40fa /androidApp/src | |
parent | ab18eaaf4bf76c3c244f4512b53f19ebaba90596 (diff) | |
download | etbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.tar.gz etbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.tar.bz2 etbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.zip |
Clear setupCallbacks on MapFragment after running all the callbacks
Diffstat (limited to 'androidApp/src')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt index c715d07..a76ebde 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt @@ -114,6 +114,7 @@ open class MapFragment : GlobeMapFragment() { hasStarted = true setupCallbacks.forEach { it() } + setupCallbacks.clear() } override fun onStop() { |