Questions tagged [loader]

Loaders make it easy to asynchronously load data in an activity or fragment.

Introduced in Android 3.0, loaders make it easy to asynchronously load data in an activity or fragment. Loaders have these characteristics:

  • They are available to every Activity and Fragment.
  • They provide asynchronous loading of data.
  • They monitor the source of their data and deliver new results when the content changes.
  • They automatically reconnect to the last loader's cursor when being recreated after a configuration change. Thus, they don't need to re-query their data.

Reference page: http://developer.android.com/guide/components/loaders.html

1805 questions
0
votes
3 answers

How do you load a folder full of png files to construct an AS3 movie clip?

I see plenty of AS3 examples of loading 1 image file into a 1 frame movieclip, but how can you take a folder full of images, load them and treat each image as an individual frame of a single movieclip? The essential problem I seem to keep running…
akaii
  • 1
  • 1
0
votes
1 answer

method cannot be resolved: adapter.swapCursor(loader);

I am developping an Android app which loads reddits and put it in a db, I use an asynchron cursor loader in my fragment SubredditsFragment.class. This fragment contains an adapter, which has a cursor loader. When I stop or reset the loader, the…
Jonas
  • 769
  • 1
  • 8
  • 37
0
votes
1 answer

Can i force linux kernel to use particular memory pages for new executable

When i execute binary i want their stack segment to be filled with special data. All i do is just write program that allocate huge buffer on a stack, call a lot of malloc and mmap and for example fill all this memory with 'A' character. Then i check…
0
votes
2 answers

spinner reloader image seems behind the overlay

I have wrote a code stuff to show a spinner reloader image with overlay. The code is working fine but the problem is that the image seems behind the overlay and is not in the real color also the Loading... text is not coming with the reload…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
0
votes
2 answers

Virtual/Logical Memory and Program relocation

Virtual memory along with logical memory helps to make sure programs do not corrupt each others data. Program relocation does an almost similar thing of making sure that multiple programs does not corrupt each other.Relocation modifies object…
0
votes
0 answers

conditional dont let rest of code work as3

some if don't work well for some reason which is this if part: if (mc.main.avatar.contains(my_loader) == true) { mc.main.avatar.removeChild(my_loader); } this is the whole part of if i need it to work: if (varfromphp !="") { if…
0
votes
3 answers

AS3 - How to assign names or tags to loader?

I have a list of images that i’ve loaded with the Loader class, but I’m having a tough time assigning them unique names. I need unique names because I want to remove certain images after a while. Is there a way to assign loaders a name or some…
shibbydoo
  • 569
  • 4
  • 18
  • 32
0
votes
3 answers

Page loader for certain elements of the body

I have added to my website this loader $(window).load(function () { $("#page-preloader").fadeOut(300); }); which as you can see it fades out after everything of the page is loaded. I would like to have a loader which fades out right…
Give IT
  • 200
  • 1
  • 3
  • 19
0
votes
0 answers

How to change the keys between two images in Phaser?

I'm creating a game. There is a profile. The user has an opportunity to change the place of elements with each other. When the user does that, the keys of images must be changed between each other too. And here is the problem: I can't do that at…
weratius
  • 113
  • 1
  • 12
0
votes
2 answers

How do I delete item from list view when it populates by CursorLoader

My fragment managed by ViewPagerAdapter implements LoaderCallbacks. It queries the database to obtain the Cursor with all the rows that contain favourite field equals 1 (true). When user deselects favourite-toggle_button favourite field in the table…
AlexKost
  • 2,792
  • 4
  • 22
  • 42
0
votes
1 answer

please provide some settimeout() example for loader.gif image to work in IE

I have been trying to display the Loader.gif image when the form is submitted, it works fine with FF browser but doesnt work with IE, I tried with settimeout() function of javascript which helped to resolve the problem for IE but then it was not…
OM The Eternity
  • 15,694
  • 44
  • 120
  • 182
0
votes
1 answer

Zend Guard Run-time support missing! Windows 2008 Server IIS7

I get the "Zend Guard Run-time support missing!" page even though I have Zend Guard Loader installed and properly configured. I have a Windows 2008 server with IIS 7 and PHP 5.4.42 which is a non-threadsafety version. I need PHP 5.3 or 5.4 for the…
0
votes
0 answers

Android LoaderManager/Loader code flow

I was checking the source code for Loader/LoaderManager. I found the code as follows. 1) LoaderManager first calls the method startLoading() on the Loader. 2) startLoading() in turn calls the onStartLoading(). 3) onStartLoading calls the method…
Sumit Trehan
  • 3,985
  • 3
  • 27
  • 42
0
votes
1 answer

How to show loader instead of Error page Loading in jquerymobile

I am developing hybrid Mobile application by using intel xdk and jquerymobile for UI. i have an ajax form submission which means i have two logins so that i am using tabs(2). First we will take first tab, i just enter username,password and click…
adr rizwan
  • 29
  • 4
0
votes
0 answers

how to put loading bar on each template in angular.js

i am building an angular app. in that few templates are there and they take quite a lot of time because the domain on which i am running it is slow. so, i want to put a loader bar and when the get requests are complete, then only i should display…
Shikher Aatrey
  • 306
  • 3
  • 12
1 2 3
99
100