In case you’ve been wondering how to achieve different XAML layouts for different device orientation with Xamarin.Forms (just Forms from now), here is a solution. The thing is […]
.net
Posted on:
An async problem
Imagine you have an asynchronous cancellable method like this: CancellationTokenSource cts; async Task DoSomethingAsync() { if (cts != null) cts.Cancel(); cts = new CancellationTokenSource(); try { await AnAsyncMethodAsync(cts.Token); […]