Code example for MapView

Methods: onPause

0
        mMap.addMarker(new MarkerOptions().position(new LatLng(0, 0)).title("Marker"));
    } 
 
    @Override 
    protected void onPause() { 
        mMapView.onPause();
        super.onPause(); 
    } 
 
    @Override 
    protected void onDestroy() { 
        mMapView.onDestroy();
        super.onDestroy(); 
    } 
 
    @Override 
    public void onLowMemory() { 
        super.onLowMemory(); 
        mMapView.onLowMemory();
    }