computeValuesWithHarfbuzz -- need to force to single run

来源:互联网 发布:app推广链接php源码 编辑:程序博客网 时间:2024/05/21 09:07

computeValuesWithHarfbuzz  -- need to force to single run

或者

android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views

子线程不可以直接修改界面的内容,如果要修改界面可以利用消息机制Handler,将写在子线程的内容写到Handler中。具体可参考一下代码片段



0 0
原创粉丝点击