标签:runOnUiThread

【尴尬】Only the original thread that created a view hierarchy can touch its views.

在service中回调时通知界面刷新了数据,就提示了如下异常: Only the original thread that created a view hierarchy can touch its views. 翻译了一下:...

android.view.ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. 哎,对自己无...