Android的:是View.onClick()方法的主UI线程调用?

问题描述:

说,一个用户点击一个按钮。是活动的主UI线程调用的产生的onClick()函数?

Say that a user clicks on a Button. Is the resulting onClick() function invoked on the main UI thread of the activity?

是的。然后你发动你疯狂的网络的东西在后台线程。

Yes it is. And then you launch your crazy networking stuff in a background thread.