title: How to pass request code in ActivityResultLauncher
body: <p>I am updating some Xamarin.Android code to use the newer AndroidX APIs. The old way to launch an activity in my project was like this:</p>
  <pre><code>var intent = new Intent(this.Activity, typeof(SomeActivity));
  intent.PutExtra(&quot;someVariableA&quot;, a);
  intent.PutExtra(&quot;someVariableB&quot;, b);
  StartActivityForResult(intent, 0);
  </code></pre>
  <p>The new way is with <code>ActivityResultLauncher</code> object:</p>
  <pre><code>activityResultLauncher.Launch(intent);
  </code></pre>
  <p>But how do I pass the request code? (second parameter in <code>StartActivityForResult</code>)</p>