title: Showing custom InfoWindow for Android Maps Utility Library for Android
body: <p>I'm using the library <a href="http://googlemaps.github.io/android-maps-utils/" rel="nofollow noreferrer">Google Maps Utility for Android</a> which allows to create clustering int he maps and I need to show a custom <code>InfoWindow</code> but I can't find any method to do this.
  In order to show the info window, I have the following class, and in the method <code>onClusterItemRendered</code> is where I have access to the info of the marker:</p>
  
  <pre><code>class MyClusterRenderer extends DefaultClusterRenderer&lt;MarkerItem&gt; {
  
      public MyClusterRenderer(Context context, GoogleMap map,
              ClusterManager&lt;MarkerItem&gt; clusterManager) {
          super(context, map, clusterManager);
      }
  
      @Override
      protected void onBeforeClusterItemRendered(MarkerItem item,
              MarkerOptions markerOptions) {
          super.onBeforeClusterItemRendered(item, markerOptions);
          markerOptions.title(String.valueOf(item.getMarkerId()));
      }
  
      @Override
      protected void onClusterItemRendered(MarkerItem clusterItem,
              Marker marker) {
          super.onClusterItemRendered(clusterItem, marker);
      }
  }
  </code></pre>
  
  <p>Is there anybody who has used the library and knows how to show a custom <code>InfoWindow</code> such as the way it was used in the Google Maps? Like:</p>
  
  <pre><code>getMap().setInfoWindowAdapter(new InfoWindowAdapter() {
  
      @Override
      public View getInfoWindow(Marker arg0) {
          return null;
      }
  
      @Override
      public View getInfoContents(Marker arg0) {
          return null;
      }
  });
  </code></pre>