title: Xamarin – Cannot override OnRequestPermissionsResult
body: <p>I've got a class that extends <code>Activity</code> and implements <code>IOnRequestPermissionsResultCallback</code>.</p>
  
  <p>I want to use <code>OnRequestPermissionResult</code> and I coded it exactly as in <a href="https://blog.xamarin.com/requesting-runtime-permissions-in-android-marshmallow/" rel="noreferrer">XamarinBlog</a> (section Handle Permission Request) and <a href="https://github.com/xamarin/monodroid-samples/blob/master/android-m/RuntimePermissions/MainActivity.cs#L218" rel="noreferrer">Monodroid Github</a> but I always get <strong><code>no suitable method to override</code></strong> error.</p>
  
  <pre class="lang-cs prettyprint-override"><code>namespace App1
  {
      class Aplication : Android.App.Activity,
                         Android.Support.V4.AppActivityCompat.IOnRequestPermissionsResultCallback
      {
  
          public override async void OnRequestPermissionsResult(
              int requestCode,
              string[] permissions,
              Permission[] grantResults
          ) { }
  
      }
  }
  </code></pre>
  
  <p>How can I use the new Marshmallow permissions in Xamarin?</p>