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
2 answers

Rotating 3d object with texture issue

I'm trying to imitate http://threejs.org/examples/canvas_geometry_cube.html via using a 3d.obj file with a texture mapping. But i keep receiving the following error plus the rotation is totally off. Uncaught TypeError: Cannot read property…
john
  • 11
  • 4
0
votes
1 answer

Questions about DLL load order

As we know, for implicitly linked DLLs of an executable, at load time, they will be loaded into memory by the loader, and the loader will calls their entry point to initialize them as well. This is a linear process - they are loaded one by one, and…
amanjiang
  • 1,213
  • 14
  • 33
0
votes
1 answer

Why does my Loader not reload date when the user moves back to that fragment in Android?

I have a Loader class, which loads some data asynchronously in an fragment in a RecyclerView. This works fine, when the user comes to that fragment the first time. If he moves away by clicking an ActionBar Button to insert some new data, and…
mrd
  • 4,561
  • 10
  • 54
  • 92
0
votes
1 answer

How to Load & Unload File SWF at same time

I'm an as3 newbie, i have one button as name tombol fuctioning to Loading External swf & going to Specific Frame by clicking buttons, this works fine. import flash.events.MouseEvent; tombol.addEventListener(MouseEvent.CLICK, tekan2); function…
wikan
  • 1
0
votes
0 answers

Is .bss not a part of final ELF?

Here below is the linker descriptor file which is an input to GNU LD to build an u-boot ELF for an embedded system OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(_start) SECTIONS { . = 0x00000000; …
kakeh
  • 403
  • 3
  • 17
0
votes
1 answer

Loader for images that are in another page that are gathered with ajax, in jQuery

Edit: Here is the new code: $("#normalcontent").hide("fast").load($this.attr("href") +" #normalcontent","",function(){ $(this).slideDown("normal"); $(this).find("img").each(function(){ …
0
votes
0 answers

How to make reverse (100% to 0%) progress page loader using Pace.js

I am using Pace.js progress loader for page loader before content loads. Here what I want is the loader starts with 100% and goes down to 0% or 1% instead of 0% to 100%. Start Load Percentage should be: 100% End Load Percentage should be either 0%…
Mohit Bhansali
  • 1,725
  • 4
  • 20
  • 43
0
votes
2 answers

Add a child inside a newly created instance, inside of a loop in AS3

I am trying to create a gallery where each thumb is housed inside of it's own movie clip that will have more data, but it keeps failing because it won't let me refer to the newly created instance of the movie clip. Below is what I am trying to…
HeroicNate
  • 35
  • 2
  • 8
0
votes
2 answers

CursorLoader does not refresh data the second time

I'm using three ContentProviders methods: bulkInsert(), query() and delete() (for deleting old data). This is my ContentProvider class: public class MoviesProvider extends ContentProvider { private static final String LOG_TAG =…
c0nst
  • 735
  • 11
  • 25
0
votes
1 answer

How to make this preloader tutorial work for my game coded using AS3?

I have coded a game in AS3 without using classes and external as files. It works perfectly fine and whenver I try to incorporate a loading screen for it, I fail badly. This time I used the following tutorial for making my game's loader. Tutorial:…
Mana
  • 352
  • 5
  • 22
0
votes
2 answers

Loader CSS works in Chrome and Safari, not in IE or Firefox

I used this code in my webpage, it works well in Chrome and Safari, but in IE and Mozilla, it is freezing, does not work. How could I fix this problem? http://codepen.io/jeyachanthuruj/pen/Cihsp HTML:
0
votes
1 answer

no terminator found after TERMINATED and ENCLOSED field using Oracle SQL Loader

I am getting a "no terminator found after TERMINATED and ENCLOSED field" error in the Oracle SQL Loader utility, but only on the last row and it looks like the quotes in the last row are correct and match all the other rows. Here is the control…
Justin D.
  • 71
  • 5
0
votes
1 answer

use of button to increase and decrease the timer in action script3.0

I have written a code to add two buttons. It shows them correctly, but the action is not performed correctly. public class butt extends Sprite { public function butt() { var delayGlobal:Number = 2000; var min1:Number =1000; …
TheTricker
  • 43
  • 10
0
votes
2 answers

Qt/QML: Accessing a ListView after a Loader has loaded it to jump to a specific item/page

I have a QML application that is basically just a ListView which displays a number of "chapters", which in turn each include one or more "pages". Since I don't know how many chapters and pages a QML might have in production, I'm using a Loader to…
BastiBen
  • 19,679
  • 11
  • 56
  • 86
0
votes
2 answers

show Dialogue while function runs

I'm loading thumbnails before image upload starts with window.URL = window.URL || window.webkitURL; function fileThumbnail(files) { var thumb = document.getElementById("thumbnail"); // thumb.innerHTML = ""; if(!files) return; for (var i = 0; i <…
user2814794
  • 81
  • 1
  • 1
  • 7
1 2 3
99
100