Just create a new instance of the task and execute it again. On Mon, Apr 12, 2010 at 6:27 AM, Lee Jarvis <[email protected]> wrote: > I'm not sure if I'm going the right way about this.. but.. > > I have both username and password fields, as well as a login button. > When the login button is clicked I grab both the username and password > and attempt an online login. The authentication happens inside of an > AsyncTask so I can display a ProgressDialog. If the users attempt to > login failed, they should have another chance. But of course I'm > unable to repeat an already Finished AsyncTask. > > What would be a canonical work around for this? I'm under the > impression resetting a variable which contains an instance of the task > and re-applying it would be a 'bad thing'. > > Regards, > Lee > > -- > 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 > > To unsubscribe, reply using "remove me" as the subject. >
-- 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

