title: Show dynamically to InfoWindow Googlemap V2
body: <p>I'm developing a travel app. On Google map API V2 feature, I want each InfoWindow have an different image. </p>
  
  <p>I've override WindowInfoAdapter for custom title and detail text. </p>
  
  <pre><code>public class MyInfoWindowAdapter implements InfoWindowAdapter {
      private final View  mView;
      public MyInfoWindowAdapter(Activity activity) {
          mView = activity.getLayoutInflater().inflate(R.layout.custom_info_window, null);
      }
      @Override
      public View getInfoContents(Marker marker){
          String title = marker.getTitle();
          final String snippet = marker.getSnippet();
          final TextView titleUi = (TextView) mView.findViewById(R.id.title);
          // final View subtitleUi = mView.findViewById(R.id.subtitle);
          final TextView snippetUi = ((TextView) mView.findViewById(R.id.snippet));
          final TextView placeid = ((TextView) mView.findViewById(R.id.placeid));
          final RatingBar voteUi = ((RatingBar) mView.findViewById(R.id.ratingBar1));
          final ImageView imageUi = ((ImageView) mView.findViewById(R.id.imageView1));
          titleUi.setText(title);
  
          //other code
          return mView;
      }
  
      @Override
      public View getInfoWindow(Marker marker){
          return null;
      }
  }
  </code></pre>
  
  <p>It work fine because It's String.<br>
  Now I want to add an image on that InforWindow using ImageView.<br>
  The problem appear because I used image from asserts and stream. It's something like this</p>
  
  <pre><code>InputStream ims = getSherlockActivity().getAssets().open("images/" + imageSubPath + "/" + splitedImages[i].toLowerCase());
  Drawable iImages = Drawable.createFromStream(ims, null);
  </code></pre>
  
  <p>I can't put Drawable object to snippet as I did with String before. 
  The result I want here:
  <img src="https://i.stack.imgur.com/cQ34U.jpg" alt="enter image description here">  </p>
  
  <p>How can I display images on InfoWindows, any advices are great!</p>