Skip to content Skip to sidebar Skip to footer

C# Cs0123: No Overload For Matches Delegate Eventhandler

I have the following code for an Android app in C# using Android.App; using Android.Widget; using Android.OS; namespace Practicum1 { [Activity(Label = 'Practicum 1.2.1', MainL

Solution 1:

Your event arguments are not correct. It should look like this.

privatevoidnaam_TextChanged (object sender, TextChangedEventArgs e)
{

}

Check documentation of EditText

Point 4) Implement the TextChanged event to capture the text from the EditText and write it to the TextView.

editText.TextChanged += (object sender, Android.Text.TextChangedEventArgs e) => {

       textView.Text = e.Text.ToString ();

};

Post a Comment for "C# Cs0123: No Overload For Matches Delegate Eventhandler"