【发布时间】:2012-06-13 01:14:41
【问题描述】:
我需要这样的东西..同时字符串参数和上下文..
protected String doInBackground(String... strings, Context ctx) {
this.dhn = new DataHelper(ctx);
this.dhn.Yaz(strings[0]);
}
【问题讨论】:
标签: android android-asynctask params
我需要这样的东西..同时字符串参数和上下文..
protected String doInBackground(String... strings, Context ctx) {
this.dhn = new DataHelper(ctx);
this.dhn.Yaz(strings[0]);
}
【问题讨论】:
标签: android android-asynctask params
我刚做了这个;
protected String doInBackground(Object... arguments) {
this.dhn = new DataHelper((Context) arguments[0]);
}
【讨论】: