为何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
相关文章
相关标签/搜索