Questions tagged [asynctaskloader]

AsyncTaskLoader is an Android Loader that uses an AsyncTask to do the loading of data in a background thread.

The AsyncTaskLoader, like other types of Android Loaders, is a class that can be used to avoid having to load data on the main UI thread(loading which may block the UI thread and the app itself). The AsyncTaskLoader was introduced in the Android SDK starting with API level 11(Honeycomb) but is available in older versions through the Android compatibility package. More information about the AsyncTaskLoader along with examples of using one can be found in the documentation for the class.

199 questions
-1
votes
1 answer

Passing data to AsynTask

When I pass arg this way everything works: new MerrTeDhenatEDegeve().execute("https://navigator.bkt.com.al/bktnavigator/al/deget/al_ilamre_deget.php"); When I pass arg this way it crashes: sh_d sh_d_instance = new sh_d(); new…
-1
votes
1 answer

android:when run onLoadFinished in orientation change

I am using from AsyncLoader in my app . I want know onLoadFinished run after which method of my fragment during orientation change? I show a dialog when loader run first time @Override public Loader>>…
zohreh
  • 1,055
  • 1
  • 9
  • 26
-2
votes
2 answers

Which one to use to save the state of application on Screen Rotation. Parcelable vs Loaders ?

Parcelable can to be used to save the state of the app on screen rotation ? This can also be done by Using Loaders ? I was wondering if there is a difference between the two ?. I am new to android programming . Sorry if this is too trivial
-2
votes
1 answer

How to load data in listview after inserting into database using Loader automatically?

I've created demo application which insert some data into sqlite database and update on listview [Fragment]. But i want to add one another data by click on button which data comes from EditText and update on listview with new data. I write my demo…
user2477865
  • 271
  • 1
  • 3
  • 12
1 2 3
13
14