How to catch a click event on a button?

前端 未结 7 936
[愿得一人]
[愿得一人] 2020-12-05 04:28

.NET Developer here just getting started with Eclipse and Android.

Can someone show me in the simplest way possible, with the absolute fewest lines of code, how to D

7条回答
  •  旧时难觅i
    2020-12-05 05:18

    Change your onCreate to

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    

    for me this update worked

提交回复
热议问题