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

Using ACR.UserDialogs to display an Alert for specified period

$
0
0

I was looking at using the ACR.UserDialogs to display an alert and then have it dismissed after x number of seconds.

The code in the sample seems pretty convoluted.

var x2 = new Acr.UserDialogs.AlertConfig() { Message = "msg", OkText = "OK", Title = "Answer Title" };
await Acr.UserDialogs.UserDialogs.Instance.AlertAsync(x2);

Displays an alert but I can seem to piece together the additional code to make it dismiss after X seconds.

Any assistance for the extra code ?


Viewing all articles
Browse latest Browse all 204402

Trending Articles