jjzjj

OtherObject

全部标签

java - doInBackground 需要很长时间才能启动

有谁知道为什么doInBackground需要很长时间才能启动?这是一个例子:runDoInBackground(){print("startingtask");newMyAsyncTask(someObject,otherObject).execute((Void)null);}privateclassMyAsyncTaskextends{SomeObjectsomeObject;OtherObjectotherObject;publicMyAsyncTask(SomeObjectsomeObject,OtherObjectotherObject){this.someObject=s