title: set InfoWindowAdapter show information only for first marker clicked
body: <p>So, I have set <code>infowindowadapter</code> for my Google map, but the problem is that when I click on the first marker, it shows the information correctly, but when I hit the second marker it shows information from the first one, so <code>infowindowadapter</code> doesn't refresh. </p>
  
  <p>Can someone tell me why that it and how to fix it?</p>
  
  <p>I was following this post to set <code>infowindowadapter</code>:</p>
  
  <p><a href="https://stackoverflow.com/questions/15090148/custom-info-window-adapter-with-custom-data-in-map-v2/15091202#15091202">custom info window adapter with custom data in map v2</a></p>
  
  <p>EDIT:</p>
  
  <pre><code>    new getMarkers().execute();
  
      mMap.setOnMarkerClickListener(new OnMarkerClickListener() {
  
          @Override
          public boolean onMarkerClick(Marker marker) {
              marker.showInfoWindow();
              return false;
          }
      });
      mMap.setInfoWindowAdapter(new InfoWindowAdapter() {
  
          @Override
          public View getInfoWindow(Marker marker) {
              // TODO Auto-generated method stub
              return null;
          }
  
          @Override
          public View getInfoContents(Marker marker) {
  
              View view = getLayoutInflater().inflate(R.layout.post_details_on_map,null);
  
              date = (TextView)view.findViewById(R.id.txtMarkerDate);
              comment = (TextView)view.findViewById(R.id.txtMarkerComment);
              image = (ImageView)view.findViewById(R.id.ivMarkerPicture);
  
              MyMarkerInfo mmi = markerMap.get(marker.getId());
              List&lt;NameValuePair&gt; params = new ArrayList&lt;NameValuePair&gt;();
              params.add(new BasicNameValuePair("id",mmi.getId()));
  
              MarkerDetails mDetails = new JSONAdapter().getMarkerDetails(params);
              date.setText(mDetails.getDate());
              comment.setText(mDetails.getComment());
  
              new getPicture().execute(mDetails.getImageUrl());
              return view;
          }
      });
  </code></pre>
  
  <p>}</p>