title: Use a Marker InfoClickListener interface
body: <p>I am using Xamarin and am wanting to handle clicks on a Google Map Marker InfoWindow. I have done some research and I need to use an OnInfoWindowClickListener.</p>
  
  <p>Here is my current code:</p>
  
  <pre><code>_map.SetOnInfoWindowClickListener (onInfoWindowClickListener);
  </code></pre>
  
  <p>And the method I have written to cater to the clicks is this:</p>
  
  <pre><code>private void onInfoWindowClick(Marker marker)
  {
      Toast.MakeText (this, String.Format ("InfoWindow is Clicked"), ToastLength.Short).Show ();
  }
  </code></pre>
  
  <p>This is the error I am getting:</p>
  
  <blockquote>
    <p>The name 'onInfoWindowClickListener' does not exist in the current
    context</p>
  </blockquote>
  
  <p>Can I please have some help with this code?</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is the class code:</p>
  
  <pre><code>[Activity(Label = "@string/activity_label_mapwithmarkers")]
  public class MapWithMarkersActivity : Activity
  {
       //long code goes here
  }
  </code></pre>
  
  <p>I think that I need to implement this interface:</p>
  
  <pre><code>GoogleMap.OnInfoWindowClickListener
  </code></pre>
  
  <p>Yet I am not sure how via code...</p>