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

Get device location in PCL

$
0
0

Hi guys,

can anyone explain me how to get device location from PCL project in Forms? I can't find on the Internet any tutorial how to do this. I just want to create an page in PCL and in code behind to call some method to get user location. I don't want any UI within Android project. And btw, if there is async examples, how should I call that method since I think (from what I have searched) that there is no lifecylce events where I could put that method and keep it async.

Thank you very much.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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