I have a Listview and TakePicture button event for each list item. I need to send position and get position back on OnActivityResult method to Update Image to List Item using that position
My code is
holder.TakePicture1.Click += delegate (object sender, System.EventArgs args)
  {
     if (remnantModel != null)
        {
           Intent camIntent = new Intent(MediaStore.ActionImageCapture);
           camIntent.PutExtra("Position", position);
           context.StartActivityForResult(camIntent, 2);
         }
  };
In OnActivityResult function
protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
  {
       base.OnActivityResult(requestCode, resultCode, data);
       switch (requestCode)
        {
        case 2:
            if (data != null)
            {
                Bundle extras = data.Extras;
                Bitmap imageBitmap = (Bitmap)extras.Get("data");
                int pos = data.GetIntExtra("position", 0);
                int position = data.Extras.GetInt("position", 0); 
                // Not getting position value here
                RemList[pos].Path.SetImageBitmap(imageBitmap); 
            }
        }
  }
As above code, I am using native ActionImageCapture event and not able to get Position in OnActivityResult function.
How can I get data i.e position in OnActivityResult method?
 
     
    