在Android中,只有UI线程(主线程)可以对UI进行更新操作,其他线程对UI操作会导致android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views。在Android中,只有UI线程(主线程)可以对UI进行更新操作,其他线程对UI操作会导致an
在Android中,只有UI线程(主线程)可以对UI进行更新操作,其他线程对UI操作会导致android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views。在Android中,只有UI线程(主线程)可以对UI进行更新操作,其他线程对UI操作会导致an