Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

HTTP Request on page loaded

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.

Best Answer

Answers

Sign In or Register to comment.