Top "Android-asynctask" questions

Use for questions on android.

Using AsyncTask to load Images in ListView

I have one ListView which can hold an image. It depends if image exists or not in SDCARD. Here my …

android android-listview android-asynctask android-adapter
Android AsyncTask threads limits?

I am developing an application where I need to update some info every time user logs in to the system, …

android multithreading android-asynctask
AsyncTask onPostExecute never gets called

I am not sure what I am doing wrong but onPostExecute never gets called. Created a base class called BaseActivity.…

android android-asynctask
POST with Android Retrofit

I'm new to Android programming and working with Retrofit. I've done a bunch of research on this topic, but haven't …

android android-asynctask android-networking androidhttpclient retrofit
Android: how to wait AsyncTask to finish in MainThread?

I know that the first you gonna this is... why the heck on the world you then use AsyncTask. So …

android android-asynctask handler solution
AsyncTaskLoader basic example. (Android)

I am using a Loader in my application and based on the result I get from the query I perform …

android android-asynctask android-handler
Show a progress bar when an Activity is loading

I have a ListActivity which launches another Activity based on the list selection. This second Activity needs to load a …

android android-asynctask progressdialog
CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch views

I have an issue with the following error in Android: CalledFromWrongThreadException;: Only the original thread that created a view hierarchy …

android handler android-asynctask
AsyncTask and Looper.prepare() error

I have the following code class OverlayTask extends AsyncTask<Void, Void, Void> { @Override public void onPreExecute() { if (sites != …

android android-asynctask looper
How to raise a toast in AsyncTask, I am prompted to used the Looper

I have tasks completed by AsyncTask in background. At some point I need to issue a Toast that something is …

android android-asynctask toast looper