• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修訂649790adc5e0bd6d64273b63649e5af8b12e59c1 (tree)
時間2011-01-25 14:26:57
作者Dianne Hackborn <hackbod@goog...>
CommiterDianne Hackborn

Log Message

Use multiple async tasks.

Change-Id: If6be431a4f9443eaaf4478bae57c29f77f558b91

Change Summary

差異

--- a/samples/ApiDemos/src/com/example/android/apis/app/LoaderThrottle.java
+++ b/samples/ApiDemos/src/com/example/android/apis/app/LoaderThrottle.java
@@ -449,7 +449,8 @@ public class LoaderThrottle extends Activity {
449449 return null;
450450 }
451451 };
452- mPopulatingTask.execute((Void[])null);
452+ mPopulatingTask.executeOnExecutor(
453+ AsyncTask.THREAD_POOL_EXECUTOR, (Void[])null);
453454 return true;
454455
455456 case CLEAR_ID: