Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Huawei Exam H14-231_V1.0 Topic 1 Question 18 Discussion

Actual exam question for Huawei's H14-231_V1.0 exam
Question #: 18
Topic #: 1
[All H14-231_V1.0 Questions]

A developer tries to update the text of Text directly in a non-UI thread, but the update fails, how to solve the problem of updating the UI of the non-UI thread in HarmomyOS??

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Beth
2 days ago
Hmm, I was thinking it might be D - GlobalTaskDispatcher. Seems like a more global solution, right? But hey, what do I know, I'm still trying to figure out how to turn my phone on sometimes.
upvoted 0 times
...
Toshia
5 days ago
I'm not sure, but I think it might be A) ParallelTaskDispatcher. Can someone explain why UITaskDispatcher is the correct choice?
upvoted 0 times
...
Vivan
8 days ago
Ah, the age-old problem of updating the UI from a non-UI thread. I'm pretty sure the answer is B - UITaskDispatcher. Gotta keep that UI snappy, you know?
upvoted 0 times
...
Esteban
13 days ago
I agree with Timmy, updating the UI in a non-UI thread should be done through UITaskDispatcher.
upvoted 0 times
...
Timmy
14 days ago
I think the correct answer is B) UITaskDispatcher.
upvoted 0 times
...

Save Cancel