Async / Await in the Windows Store, iOS, and Droid Portable Class Library

Development of the MvvmCross application for Android and iOS (Xamarin / Mono) and the Windows Store (because it is so easily and quickly debugged compared to iOS / Android).

The core of the application is PCL based.

Can I use Async / Await in the Core library?

Xamarin mono supports Async / Await, and the Windows Store supports it. However, if you select only Net4.5, Windows Store, Mono Android and MonoTouch as PCL targets, SL4 and WP7.5 are automatically selected, and Async / Await are no longer available.

+4
source share
1 answer

The last thing I have: TPL on PCL mvvmcross

But Xamarin's PCL support officially started last week - so the last thing I have is out of date. Miguel promised a blog post about his current status when he returned from the assembly.

In addition, I saw user comments such as β€œI use asyncbridge and profile47 with heavy use of async inside PCL. Works great on iOS and Android, and MvvmCross events look like magic” from http://forums.xamarin.com/discussion / comment / 18872 / # Comment_18872 - I would like to see that it is more fully blogged, explained, documented by those who work for it.

+3
source

Source: https://habr.com/ru/post/1488128/


All Articles