Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

async/await and UI events

$
0
0

Now that we thankfully have async/await support in stable, I've been using it in some of my production apps.

I'm curious, what is the preferred pattern to use async/await with, say, an IBAction on iOS or a Clicked event on Android? For now, these are all non-async methods.

Will there ever be a way to bind these to the UI in an asynchronous manner similar to how Windows/.NET does async bindings in XAML? Is the best way for now to just have a "ButtonClicked" method paired with a "AsynButtonClicked" to go along with it if I want to take advantage of async/await close to the UI?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>