Update UI from background Thread

后端 未结 6 1343
悲&欢浪女
悲&欢浪女 2020-12-20 10:33

This is just a curious question. Which one is the best way to update UI from another thread. First, this one:

private delegate void MyDelegateMethod();
void          


        
6条回答
  •  没有蜡笔的小新
    2020-12-20 11:02

    I typically used the first model, but that's only because I found it clearer. There isn't really going to be an effective difference between the two.

提交回复
热议问题