In the default New Project for Android (Xamarin) in Visual Studio, you get a Hello World screen and kind of a button.
Coming from WPF, I dragged a Button out of the Toolbox into activity_main.xml which is where the original button is.
In Properties, Behavior, On Click, I added the name of a desired handler which populates the xml as shown below.
In MainActivity.cs (which I presume is comparable to the code behind) I put in what I found on the web to be how Android expects click handlers:
public void Button1_Click(View view) etc.
and set a breakpoint here. When Run, the button appears, if I click it, the app crashes with an exception:
and VS just sits there at that point.
How do you specify the handler from the GUI so that this works. Why is the handler not like typical MS button handlers that include Sender and EventArgs?