Android 子线程更新UI 异常
摘要:众所周知,Android是不可以在子线程中直接更新UI的,需要借助Handler或者View.post(Runnable runnable)或者runOnUIThread(Runnable runnable)将更新的代码切入到主线程中去实现UI更新。 我们来试一下,在Activity的 onCrea
阅读全文
posted @ 2018-12-20 23:56
posted @ 2018-12-20 23:56
posted @ 2018-12-18 17:26
posted @ 2018-12-17 11:42