I need to pass two params (lv and position) to a Asynctask doInBackground method but I don't know how do it...
LoadSound.execute(lv,position)
class LoadSound extends AsyncTask<**[ListView,int]**, String, String>
thanks!
EDIT:
I have a listView. If you click in an item play sound (from Internet).
I would like show a progressDialog with Asynctask.
In the doInBackground method I have the itemOnClick:
HashMap<String, String> o = (HashMap<String, String>) lv.getItemAtPosition(position);
for this reason I need to pass lv and position.