Android requires a lot of thread-specific computation. http://developer.android.com/guide/components/processes-and-thr See the Worker Thread - ImageView example. So, some multi-step programming tasks may require executing one line of code in one thread, then another line of code in UI thread.
I thought delegating workload to other threads is not a cause of slowness, it is a necessary workaround because of slowness. Multi-threading are good for responsive apps. What is your exact point?
code
【在 k**********g 的大作中提到】 : : Android requires a lot of thread-specific computation. : http://developer.android.com/guide/components/processes-and-thr : See the Worker Thread - ImageView example. : So, some multi-step programming tasks may require executing one line of code : in one thread, then another line of code in UI thread.