@Override
  protected void setBalloonData(CustomOverlayItem item, ViewGroup parent) {

    // map our custom item data to fields
    title.setText(item.getTitle());
    snippet.setText(item.getSnippet());

    // get remote image from network.
    // bitmap results would normally be cached, but this is good enough for
    // demo purpose.
    image.setImageResource(R.drawable.icon);
    new FetchImageTask() {
      protected void onPostExecute(Bitmap result) {
        if (result != null) {
          image.setImageBitmap(result);
        }
      }
    }.execute(item.getMapArgument().getPoi().getIcon());
  }