Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Device.StartTimer async

$
0
0

Hi,

Is there any trick to use Device.StartTimer with async?

Device.StartTimer(TimeSpan.FromMinutes(1), async () =>
{
        await DisplayAlert("","","");
}

It doesn't compile: Cannot convert async lambda to delegate type Func

Any help?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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