I have an android application that parses some HTML, downloads an image, and displays it. I\'m using an AsyncTask to do the HTML parsing and image downloading, but that shouldn\'t be relevant. I never
I am trying to add ListView items one by one. So if I have say -- 60 items -- the application would add the views to the list view one at a time -- thus showing the user that the application is loadin
I\'d like to set a ListView to data I get from a web service. I get the data in a AsyncTask instance, but when I try to set some of my ListView attributes, it crashes (on line \"lv.setVisibility(View.
I would like to know if it is possible to get \'leftover\' calls to AsyncTask#onProgressUpdate after AsyncTask#onPostExecute has been called? I am setting text on the same TextView using both of them,
I have a service, that requests another class, which launches an AsyncTask Service->Weather Class->Execute Method->Asynctask->Execute
I\'m trying to make a simple ProgressDialog appear while my AsyncTask is fetching data. In my onPreExecute() method I have this:
I\'m stuck with a memory leak that I cannot fix. I identified where it occurs, using the MemoryAnalizer but I vainly struggle to get rid of it. Here is the code:
I have a class that fetches data in response to button presses in the main activity. Unfortunately, I keep running into problems because this class is not an Activity or a Service. For example, withou
How do you create unit tests for an Android activity that starts async tasks in onCreate? I would like to test the r开发者_StackOverflow中文版esult of these tasks.It is hard to write tests for a lot o
I was wondering if it\'s possible to call specific methods defined within the AsynTask class from another class and/or service ?