阅读背景:

为什么能在子线程通过setText进行更新UI

来源:互联网 

为什么可以在子线程通过setText进行更新UI

void checkThread() { if (mThread != Thread.currentThread()) { throw new CalledFromWrongThreadException( "Only the original thread that created a view hierarchy can touch its views."); } } void checkThread() { if



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: