Now Xamarin officialy supports the new C# 5 Async keywords async and await, how could we use them in an MvvmCross project using PCL and what do we need to reference/install (Task<>, what PCL profile etc.)
regards,
Arthur
Now Xamarin officialy supports the new C# 5 Async keywords async and await, how could we use them in an MvvmCross project using PCL and what do we need to reference/install (Task<>, what PCL profile etc.)
regards,
Arthur
Async/await is available in PCL's targeting .NET 4.5 and Windows Phone 8 and Windows Store projects. This means something like Profile78 could be useful.
However, if you need to target Windows Phone 7 you will need to work your way around the licensing issues that come with using Microsoft.BCL, as it is only allowed to use that on Microsoft platforms. There is Async Bridge from this years Build conference, by Daniel Plaisted, which could help. I've had it working in my Xamarin projects.