Thanks Romain,

Just to clarify, are you suggesting to pass an object containing the
data ? ie <Object, void, void> or similar, where object has attributes
= parameters I want to pass ?

On May 23, 2:24 am, Romain Guy <[email protected]> wrote:
> 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 toAsyncTask
>
> > I have somthing like :
>
> > private class DownloadTask extendsAsyncTask< 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to