草庐IT

contextGiven

全部标签

android - AsyncTask 通知父 Activity 完成的最佳方式是什么?

publicclassListingFoundBeaconServiceextendsAsyncTask{publicListingFoundBeaconService(ContextcontextGiven,JSONObjectjsonParams){this.contextGiven=contextGiven;this.jsonParams=jsonParams;}protectedvoidonPreExecute(){super.onPreExecute();pDialog=newProgressDialog(contextGiven);pDialog.setMessage("L