Reputation: 6572
I need something like this.. String params and Context in the same time..
protected String doInBackground(String... strings, Context ctx) {
this.dhn = new DataHelper(ctx);
this.dhn.Yaz(strings[0]);
}
Upvotes: 1
Views: 1332
Reputation: 6572
I just made this;
protected String doInBackground(Object... arguments) {
this.dhn = new DataHelper((Context) arguments[0]);
}
Upvotes: 3