我需要这样的东西.. String params和Context同时...
protected String doInBackground(String... strings, Context ctx) {
this.dhn = new DataHelper(ctx);
this.dhn.Yaz(strings[0]);
}
答案 0 :(得分:3)
我刚刚做了这个;
protected String doInBackground(Object... arguments) {
this.dhn = new DataHelper((Context) arguments[0]);
}