jjzjj

NewWeatherActivity

全部标签

android - AsyncTask 中 onPreExecute 和 doInBackground 之间的巨大延迟

我有一个AsynkTask:newAsyncTask(){privateProgressDialogmProgressDialog;@OverrideprotectedvoidonPreExecute(){Log.i(TAG,"Preexecute:"+System.currentTimeMillis());super.onPreExecute();mProgressDialog=ProgressDialog.show(NewWeatherActivity.this,null,getResources().getString(R.string.weather_is_updating))