CalledFromWrongThreadException
更新UI的位置不正确,线程解析数据 handler. mssage 中更新
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
02-25 14:58:01.250: E/AndroidRuntime(17082): FATAL EXCEPTION: Thread-1450
02-25 14:58:01.250: E/AndroidRuntime(17082): android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4692)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewRootImpl.focusableViewAvailable(ViewRootImpl.java:2649)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.View.setFlags(View.java:8382)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.View.setFocusableInTouchMode(View.java:5673)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.widget.AdapterView.checkFocus(AdapterView.java:717)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.widget.ListView.setAdapter(ListView.java:461)
02-25 14:58:01.250: E/AndroidRuntime(17082): at com.huashang.huishang.activity.FragmentPageMessageTab$2.run(FragmentPageMessageTab.java:87)
02-25 14:58:01.250: E/AndroidRuntime(17082): at java.lang.Thread.run(Thread.java:856)