Just use the type Object for the parameters and you can then pass whatever you want.
On Fri, May 22, 2009 at 9:24 PM, avrono <[email protected]> wrote: > > This maybe a silly question, but I was wondering how to pass multiple > parameters to AsyncTask > > I have somthing like : > > private class DownloadTask extends AsyncTask < ArrayList, int [], > Cursor, void, void> { > protected ArrayList<ThreadHolder> doInBackground(ArrayList > <ThreadHolder> lst, int [] _thread_keys, Cursor c) { > return selectThreads2(lst, _thread_keys, c); > } > > > I would like to pass in the 3 parameters , I am not sure (1) if it is > possible and (2) what the syntax would be > > Thanks in advance > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

