Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Can i return MemoryStream from dependency call ?

$
0
0

hello,

I am trying to write IPicturePicker (to pick images from gallery) and meet problem with incorrect image orientation some time.
decided to try to solve it automatically in picturepicker code (now in Android version ).

but when I try to return memorystream to shared code everything crashing (null reference , external code ).

while writing this question decided to switch to byte[] and it is working.
but still interested, why I can't return memorystream ?

tia
ish


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>