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
8
votes
4 answers

Using /etc/ld.so.preload in a multi arch setup

Is there some way to use ld.so.preload and cover both 32bit and 64bit binaries? If I list both the 32bit and 64bit versions of the fault handler in ld.so.preload then the loader always complains that one of them fails to preload for whatever command…
Bill Rees
  • 81
  • 1
  • 2
8
votes
4 answers

Webpack: Module build failed: Error: Cannot find module 'postcss'

I am trying to integrate my webpack project with sass-loader, but I am get this error: Module build failed: Error: Cannot find module 'postcss' I already installed postcss and postcss-loader with command: npm install postcss postcss-loader…
Elton Serra
  • 497
  • 2
  • 5
  • 11
8
votes
2 answers

How to implement spinner with loading controller in ionic 3?

I want to implement spinner with loading controller in ionic3 . I have implemented simple loading controller . how to do it? thanks in advance. My current loader I want something like this
Niraj
  • 1,039
  • 1
  • 10
  • 14
8
votes
1 answer

How can I run arbitrary bash scripts on files via Webpack without maintaining loaders for each file type?

It seems like Webpack runs tools that transform code via "loaders", rather than using the APIs of those tools directly. This adds a layer of abstraction over those tools which sometimes means the APIs of the tools is not fully exposed or updates to…
Jo Sprague
  • 16,523
  • 10
  • 42
  • 62
8
votes
2 answers

How to abort loading component in Loader?

I have a Loader object that loads some very heavy components. Some event arrives in the middle of the load that requires loading to stop and go back to empty the Loader. Is it possible?
Rinat Veliakhmedov
  • 1,021
  • 1
  • 19
  • 36
8
votes
1 answer

How to have aliased variables in shared libraries?

I want to put two aliased variables in a library so that the application code can use either name. But I find it can be done in a static library but not in a shared library. Here is my experiment. I did it on an X86 Linux machine with gcc…
8
votes
4 answers

Adobe Flash Builder (flex4): addChild() is not available in this class.

I want to load an swf into a flex 4 application in order to use its classes. var ldr:Loader=new Loader(); ldr.load(new URLRequest("file://path/to/fileswf")); ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded); function loaded(evt:Event):void…
ufk
  • 30,912
  • 70
  • 235
  • 386
8
votes
6 answers

Android-Universal-Image-Loader doesn't keep loaded images on scroll in gridview

I am using Android-Universal-Image-Loader library to load a remote pictures to ImageView in my GridView cells. Here the the imageLoader configurations: new ImageLoaderConfiguration.Builder(Config.context) .threadPriority(Thread.NORM_PRIORITY -…
John F
  • 685
  • 1
  • 8
  • 18
8
votes
4 answers

What is the smallest AMD loader to date?

I am searching for an AMD loader that supports dynamic code loading, and that is very small. The loader is to be used in a mobile/high latency environment, and the size of requirejs simply is too much. I do NOT need: -text plugins -css plugins -i18n…
duck degen
  • 1,163
  • 1
  • 9
  • 16
7
votes
3 answers

SQL Loader : Load into 2 Tables from 1 controlfile and 1 CSV

Table T1 Structure:col1 number,col2 number Table T2 Structure: col1 number,col2 number,col3 number csv file: row1:1,2,3,4,5,6 row2:1,2,3,4,5,6 I want data in Table T1 as: col1 col2 ===== ==== 1 3 1 3 I want data in Table T2 as: col1…
Mayank Kapoor
7
votes
2 answers

How can a Solaris process read its own symbol table?

I have a Solaris process, which is a C++ application that is loaded by ld with a few .so libraries. This application has a function that gets a return address in the calling function and then tries to determine the name of the said calling…
evolvah
  • 625
  • 4
  • 15
7
votes
2 answers

Understanding linker script NOLOAD sections in embedded software

According to the GNU documentation for ld, a NOLOAD section works as following: The `(NOLOAD)' directive will mark a section to not be loaded at run time. The linker will process the section normally, but will mark it so that a program loader will…
Dan
  • 2,452
  • 20
  • 45
7
votes
7 answers

Unable to get ASP.Net UpdateProgress to display

I'm trying to display an update progress loading image whenever my update panel does it's Ajax thing. I've looked around at tutorials and it seems really straightforward but I'm having no luck. Here is pretty much what I have...
Carter
  • 2,850
  • 9
  • 44
  • 57
7
votes
2 answers

How to create a loader in Javascript waiting for a function to end?

I have a function in Javascript (in the browser, not node.js) that it takes a lot of time to commit. I want that while the function is being processed, the browser will present a loader, so the user can understand that he/she has to wait.
CrazySynthax
  • 13,662
  • 34
  • 99
  • 183
7
votes
1 answer

How to make static linked ELF file to load LD_PRELOAD .so

I have static linked binary (ELF file) it doesn't have dynamic segment, .dymsym sections and it doesn't perform LD_PRELOAD command and etc. How could i create fake dummy dynamic segment to activate dynamic loader and perform LD_PRELOAD command?
Kracken
  • 662
  • 1
  • 11
  • 27