Unfortunately, it violates the single-threaded model for the UI: the Android UI toolkit is not thread-safe and must always be manipulated on the UI thread.
但不幸的是,上面的代码违背了UI线程的单线程模式:Android UItoolkit不是线程安全的,所以对UI的操作都应该在主ui线程中进行。
Unfortunately, it violates the single-threaded model for the UI: the Android UI toolkit is not thread-safe and must always be manipulated on the UI thread.
但不幸的是,上面的代码违背了UI线程的单线程模式:Android UItoolkit不是线程安全的,所以对UI的操作都应该在主ui线程中进行。
应用推荐