Code example for Marker

Methods: getTitle

0
    getSupportActionBar().setSelectedNavigationItem(savedInstanceState.getInt(STATE_NAV));
  } 
 
  @Override 
  public void onInfoWindowClick(Marker marker) {
    Toast.makeText(this, marker.getTitle(), Toast.LENGTH_LONG).show();
  } 
 
  @Override 
  public void onCameraChange(CameraPosition position) {
    Log.d(getClass().getSimpleName(),
          String.format("lat: %f, lon: %f, zoom: %f, tilt: %f",
                        position.target.latitude,
                        position.target.longitude, position.zoom,
                        position.tilt));
  } 
 
  private void initListNav() { 
    ArrayList<String> items=new ArrayList<String>();
    ArrayAdapter<String> nav=null;
Stop searching for code, let great code find you!  Add Codota to your java IDE