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

由网友(没人替自己坚强)分享简介:说,一个用户点击一个按钮。是活动的主UI线程调用的产生的onClick()函数?Say that a user clicks on a Button. Is the resulting onClick() function invoked on the main UI thread of the activity?...

说,一个用户点击一个按钮。是活动的主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.

阅读全文

相关推荐

最新文章