码迷,mamicode.com
首页 > 移动开发 > 详细

android button 函数调用栈

时间:2016-10-08 19:33:56      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

Button button=(Button) findViewById(R.id.button);

button.setOnClickListener(new Button.OnClickListener()
{

@Override

public void onClick(View v) {
DisplayToast("ODO Auto-generated method stub 事件触发成功");
}
});

 

"main@3973" prio=5 runnable
java.lang.Thread.State: RUNNABLE
at com.example.zzf073.eventtest.MainActivity.DisplayToast(MainActivity.java:53)
at com.example.zzf073.eventtest.MainActivity$1.onClick(MainActivity.java:42)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Method.java:-1)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

android button 函数调用栈

标签:

原文地址:http://www.cnblogs.com/feng9exe/p/5939714.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!