mirror of
https://github.com/ev-map/EVMap.git
synced 2026-05-24 23:06:15 -04:00
@@ -1608,6 +1608,10 @@ class MapFragment : Fragment(), OnMapReadyCallback, MenuProvider {
|
||||
mapFragment = null
|
||||
_binding = null
|
||||
vm.mapProjection = null
|
||||
markers.clear()
|
||||
clusterMarkers = emptyList()
|
||||
searchResultMarker = null
|
||||
searchResultIcon = null
|
||||
/* if we don't dismiss the popup menu, it will be recreated in some cases
|
||||
(split-screen mode) and then have references to a destroyed fragment. */
|
||||
popupMenu?.dismiss()
|
||||
|
||||
Reference in New Issue
Block a user