Sunday, February 6, 2011

Re: [android-developers] Best practices for automatic retrying of AsyncTask

On Sun, Feb 6, 2011 at 11:22 PM, Dimitris <dnkoutso@gmail.com> wrote:
The problem is, I cant find a proper way to reinstantiate a task and execute it without reflection.

Whatever started the task to being with would be responsible for checking the result and responding appropriately. Since it started the task, it would know what specific type of task it needed and would just restart a new one.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment