I've created a new Xamarin Forms PCL project for iOS, Windows Phone and Android. I seem to be tying myself up in knots with async methods. The new Xamarin Forms Templates do not seem to be set up with async in mind, but two libraries I'm using are both async ones.
I tried adding awaits and marking method as async as required, but once GetMainPage() became async which is called in the individual platform projects in some of them it was called by a constructor so could not be async.
Is there a nice cross platform Xamarin Forms Example that uses Async await that would be good to learn from?
Or is there some guidance about which Xamarin Forms existing methods should be marked as async or on how you can call an async method from a method that can't be marked as async.
I've found that I can make the project compile without some methods being marked as async, but on some platforms it hangs when a async method is called.