爲何Android的AsyncTask不適合執行長時間操做的任務

Android API中有提到,AsyncTask很是適合短期異步操做。若是要執行長時間操做,最好使用線程池Executor:java AsyncTasks should ideally be used for short operations (a few seconds at the most.) If you need to keep threads running for long per
相關文章
相關標籤/搜索