The second is that, in the spawned thread, you do not modify the UI.
第二个不同是,在衍生线程中,您不能修改ui。
Notice that each deal has a Show Details button next to it. Click it to modify the UI as in Figure 2.
注意,每笔交易旁边都有一个Show Details按钮,单击该按钮修改这个UI,如图2所示。
So how do you retrieve data without freezing the UI, but in a way that allows you to modify the UI once that data has been received?
因此在不冻结UI,但另一方面,在数据收到之后又允许您修改UI的情况下,您怎样检索数据?
应用推荐