Hello,

My application parse an xml file dans display data in a list view.
On start of application i load data using an AsyncTask. A Progress
Dialog is display during the load.
This part works fine.

A button in the application make it possible to reload the data.
I would like to run the AsyncTask but the sytem say i can't alter
view  in other thread. I have also read an AsyncTask can't be run
another time : 
http://android-developers.blogspot.com/2009/05/painless-threading.html
If i use Activity.runOnUiThread(Runnable) i have the message
"application not responding".

So i would like to know what is the best way to do this and not to
have the "application not responding" message.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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