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

HTTP Request on page loaded

$
0
0

Hi all, first post on this forum!

I'm new to Xamarin, and I'm trying to create a simple app that show a map and a list of POI.

The list of POI is correctly retrieved by a WS, but I'd like that the corresponding HTTP Request to be executed as soon as the map is showed, so that

a) a list of POI appears on the map if the HTTP request result == 200
b) an error popup is showed if result != 200

What's the best way to perform the HTTP request just after map is showed?

TY in advance.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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