Android中的Handler機制

直接在UI線程中開啓子線程來更新TextView顯示的內容,運行程序我們會發現,如下錯 誤:android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.翻譯過來就是:只有創建這個控件的線程才能去更新該控
相關文章
相關標籤/搜索