C# Xamarin OnClick function

前端 未结 3 448

What I\'m doing is this

Button button1 = FindViewById
3条回答
  •  佛祖请我去吃肉
    2021-01-02 08:28

    The Xamarin.Android way of doing a SetOnClickListener is via C# style events:

    Button button1 = FindViewById

    Required reading for Xamarin's Android Events and Listeners

提交回复
热议问题