0
comment
comment
on 12/9/2016 2:06 PM
Transform an operation from a Xamarin.Android activity to an awaitable task
Today I want to share a neat trick which I have been using a lot - transform an asynchronous operation (triggered with StartActivityFromResult) from an Android Activity to an awaitable task - which then can be used with async await keywords in a Xamarin.Forms PCL project.
Problem
CustomPickActivity
TaskCompletionSource