bool AllowTap = true; private void Button_Clicked(object sender, EventArgs e) { if (AllowTap) { AllowTap = false; //Write logic here await Task.Delay(1000); AllowTap = true; } }
A blog about Xamarin.Forms, .NET MAUI, .NET MAUI Handler, Xamarin.iOS, Xamarin.Android, Custom Renderer, Xamarin Custom Control, Push Notification, Play Video From URI, Data Bindings. Xamarin Calendar
Wednesday, 29 April 2020
How to avoid multiple buttons being clicked at same time in Xamarin.Forms
Subscribe to:
Posts (Atom)
Popular Posts
-
<Label Text = "{Binding Date,StringFormat='{0:MM/dd/yy}'}" /> Output: 05/25/2019 Date Formats: DateTime....
-
RatingBar Control- is a cross-platform plugin used for selecting the rating. How To Use Available on NuGet: https://www.nuget.org/...
-
Youtube Video: Packages Required Install sqlite-net-pcl Package in your .Net MAUI Project. Create EmployeeModel with few properties ...