bool AllowTap = true; private void Button_Clicked(object sender, EventArgs e) { if (AllowTap) { AllowTap = false; //Write logic here await Task.Delay(1000); AllowTap = true; } }
Learn .NET MAUI with step-by-step C# tutorials and ready-to-use code samples MVVM, SQLite, REST APIs, navigation, notifications and more for cross-platform apps.
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/...
-
Creation Of Certificates & Profiles Certificate Create Development Certificate In Your Apple Developer Account. Once Certificated Creat...