在子線程中如何更新ui

android不能在子線程中更新ui,不然會出現android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.異常。android 若是要在子線程中更新Ui,可使用handler和Activity
相關文章
相關標籤/搜索