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

[Xamarin.Forms] ImageSource -> Uri -> String?

$
0
0

Hi,

I've been using this code here as a template for my own code.

Basically I get a ImageSource object from my Android code and set the image.Source variable and the image is shown just great.
However in my Xamarin.Forms page code I want to save an object to a database (which I know how) with the Uri as a String of that ImageSource. The problem is that I do not know how to properly convert a ImageSource object into a Uri as String... and then back again ofc. Anyone have a suggestion?

Sidenote: I am extremely knew to Xamarin.

Thanks,

Bobby Kristensen


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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