Im trying my first steps with dot42.
I defined a Button like this:
<Button android:id="@+string/button_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Senden"
android:onClick="sendMessage"/>
I thought i could now define a method in the MainActivity Class like this:
[Activity]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle savedInstance)
{
base.OnCreate(savedInstance);
SetContentView(R.Layouts.MainLayout);
}
public void sendMessage(View view)
{
}
}
But unfortunately i get an Exception when clicking that button..
you find information about dot42 here