-
public class MapViewRepository
Repository for a MapView Designed for "singleton-like" objects that need a clean detach
-
-
Constructor Summary
Constructors Constructor Description MapViewRepository(MapView pMapView)
-
Method Summary
Modifier and Type Method Description void
add(InfoWindow pInfoWindow)
void
onDetach()
MarkerInfoWindow
getDefaultMarkerInfoWindow()
BasicInfoWindow
getDefaultPolylineInfoWindow()
BasicInfoWindow
getDefaultPolygonInfoWindow()
Drawable
getDefaultMarkerIcon()
note: it's possible for this to return null during certain lifecycle events. -
-
Constructor Detail
-
MapViewRepository
MapViewRepository(MapView pMapView)
-
-
Method Detail
-
add
void add(InfoWindow pInfoWindow)
-
onDetach
void onDetach()
-
getDefaultMarkerInfoWindow
MarkerInfoWindow getDefaultMarkerInfoWindow()
-
getDefaultPolylineInfoWindow
BasicInfoWindow getDefaultPolylineInfoWindow()
-
getDefaultPolygonInfoWindow
BasicInfoWindow getDefaultPolygonInfoWindow()
-
getDefaultMarkerIcon
Drawable getDefaultMarkerIcon()
note: it's possible for this to return null during certain lifecycle events. Such asinvoke this method after onDetach has been called
-
-
-
-