Re: [android-developers] AsyncTask design question

2012-11-14 Thread Mukesh Srivastav
Hi All, Have a separate Async task class which serves the HTTP Request to all of your Activities and let your Activities implments a listener which helps the AsycnTask class to get the data from "onpostexecutes" method. here is an example which i have written in a blog. http://www.androidsnippet

Re: [android-developers] AsyncTask design question

2012-11-14 Thread TreKing
On Tue, Nov 13, 2012 at 3:44 AM, Albertus Kruger wrote: > I would like to know if it is better to have seperate AsyncTasks for every > screen on your application or is it better to have one AsynTask class that > handles all processing from different screens on my application ? One class that han