是主线程一样的UI线程? [英] Is main thread the same as UI thread?

查看:174
本文介绍了是主线程一样的UI线程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android的医生说像在应用程序的主线程中运行活动和其他组件,服务。

The Android doc says "Like activities and the other components, services run in the main thread of the application process."

这里是主线程同样的事情UI线程?

Is the main thread here the same thing as UI thread?

推荐答案

看起来它。从<一个报价href="http://android-developers.blogspot.com/2009/05/painless-threading.html">http://android-developers.blogspot.com/2009/05/painless-threading.html: 当一个应用程序启动时,系统会创建一个名为线程主应用程序的主线程,也称为UI线程......

Looks like it. Quoted from http://android-developers.blogspot.com/2009/05/painless-threading.html: "When an application is launched, the system creates a thread called "main" for the application. The main thread, also called the UI thread..."

这篇关于是主线程一样的UI线程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆