This step is done to avoid blocking the main UI thread.
这一步是为了避免阻塞主ui线程。
Figure 1 shows the main UI of our Hello World application.
图1显示的是Hello World应用程序的主ui。
Listing 2 shows the XML UI declarations for the main UI screen layout.
清单2展示了主ui屏幕布局的XML UI声明。
The above code very succinctly creates the main UI for the application.
以上代码非常简洁地创建了该应用程序的主ui。
Thus, addStock will execute on a background thread, not on the main UI thread.
如此,addStock将在一个背景线程上执行,而不是在主UI 线程上。
The spawned thread does not have access to the same resources as the main UI thread.
衍生线程不能访问主ui线程访问的资源。
This method will always be executed on the main UI thread, so it is ideal for modifying the UI.
这个方法总是在主ui线程上被执行,因此对于修改UI这是一个很好的选择。
It abstracts out the creation of a thread and a handler for making a request off of the main UI thread.
它抽象出线程和处理程序的创建,用于请求主ui线程。
The Online Backup widget on the Main UI has been removed temporarily due to some changes we have made.
由于我们所做的一些更改,联机备份的主UI部件暂时被移除。
To avoid tempting fate, you must perform tasks like these on a different thread, or at least not on the main UI thread.
为了避免冒险,您必须在不同的线程上执行任务,或者至少不在主ui线程上执行。
In fact, the code in the spawned thread cannot even be in the same file as the code that is executed by the main UI thread.
事实上,衍生线程中的代码甚至不能与主ui线程执行的代码位于同一个文件中。
It's okay to do this from a worker since you are not on the main UI thread, and this is not going to freeze up the application.
在worker中这么做是可以的,因为没有处于主ui线程,并且不会冻结整个应用程序。
The handler is simply extracting the tips from the venue details and collecting all of these tips to be passed back to the main UI thread.
处理程序只简单从场所细节中抽取tips并收集所有这些tips后一并传递回主ui线程。
When you launch the application or click welcome in the Help menu, the welcome page will be shown in the main UI, providing some introductory information.
打开应用程序或者单击帮助菜单里的Welcome,欢迎页面将出现在主ui上,提供一些介绍性信息。
As with typical Ajax, Flash makes asynchronous calls to remote servers so that the main UI thread is not frozen while awaiting a response from the remote server.
和典型的Ajax一样,Flash对远程服务器进行异步调用,主u i线程在等待远程服务器响应时不会停止。
If you run the code in Listing 1 on the main UI thread of an application, it might cause an application Not Responding dialog to appear, depending upon the speed of the user's network.
如果您在应用程序的主ui线程上运行清单1中的代码,可能会出现ApplicationNot Responding对话框,具体视用户网络速度而定。
I confirmed the leak by looking at the Instance Summary, which indicates that the FormFrame class (which is the main UI class for the forms) has increased in count by four after the checkpoint.
我通过查看InstanceSummary证实确实有一个漏洞,因为Instance Summary表明formframe类(它是窗体的主用户界面类)的计数在检查点之后增加了4。
The main layers of the application are a database, a persistence framework, a database access object, and user interface (UI) controller and view layers.
应用程序的主要层是数据库、持久性框架、数据库访问对象和用户界面(UI)控制器及视图层。
The second section constructs the main reader UI.
第二部分构造主要的阅读器UI。
Figures 3 and 4 show more formally where additional plug-ins can display their contributed UI elements in the main window. The scope of these UI changes can be large or small.
图3和图4更为正式地展示了附加插件在主窗口中呈现的UI元素,这些 UI变化的范围可大可小。
Hudson's Web UI is fairly simple (see Figure 1), yet effective: It consists mainly in a sidebar located on the left of the screen and in a main panel all around.
Hudson的WebUI是很简单的(见于图1),但是却很有效:它的主要部分是位于界面左边的工具栏以及它周围的主窗格。
A servlet-based Web user Interface (UI) supports is the main way for your users representing different roles to interact with Registry and Repository.
基于Servlet的Web用户界面(UI)支持是代表不同角色的用户与Registry and Repository进行交互的主要方式。
The basic structure of the UI is the same, but we did decided to move to WPF for one very important reason: we wanted to use WPF's annotations to allow commenting on APIs in the tool's main window.
UI的基本结构是相同的,之所以修改为WPF,是基于一个非常重要的原因:我们需要使用WPF的标记(annotations)以支持在工具的主窗口中对API进行注释。
The main features of the Engine are: UI module group locating, UI module caching, Command bundle processing, Selenium APIs re-implemented in jQuery, and new Tellurium APIs.
这个引擎的主要特性包括:UImodule组定位、UI module缓存、命令集处理、用jQuery重新实现的SeleniumAPI以及新的Tellurium API。
In order to distinguish worker threads from the UI thread, the main entry point for the sample application sets the Name property of the CurrentThread object to "UIThread."
为了区别工作者线程和UI线程,在例子程序的主入口点设置CurrentThread对象的名字属性为“UIThread ”。
The main focus of JsonML is as a tool for building UI elements. Traditionally you have two ways to develop this kind of browser-based user interface.
JsonML主要是作为一种构建UI元素的工具。
With the project saved successfully, the main Lifecycle Manager UI should now show that both environments are available.
项目成功保存后,主lifecycleManagerUI现在应该显示两个环境都可用。
The article also explains the API that your application can use to interact with Android UI toolkit components running on the main thread and spawn managed worker threads.
同时本文还会对应用程序与主线程中的AndroidUItoolkit组件交互以及产生托管工作线程的API进行解释。
As such, the main thread is also sometimes called the UI thread.
因此,主线程有时也被叫做UI线程。
No. You cant update UI in other thread then main.
你可以在其他线程则主要是更新ui。
应用推荐