bulubuloa/SupportMediaXF

ArgumentOutOfRangeException

Opened this issue · 1 comments

I see the following issue when I run your SupportMediaXFDemo.Android example:

image

Unhandled Exception:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index occurred

I see it happens when OnRequestPermissionsResult.FillAllPhotosFromGallery is executed second time.

I think it happens because I see two permission windows:
image
image

and after restart I could take photos and pick images, so problem only after requesting permissions