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
257
votes
13 answers

How to create multiple output paths in Webpack config

Does anyone know how to create multiple output paths in a webpack.config.js file? I'm using bootstrap-sass which comes with a few different font files, etc. For webpack to process these i've included file-loader which is working correctly, however…
spb
  • 4,049
  • 6
  • 22
  • 30
208
votes
13 answers

How to show Page Loading div until the page has finished loading?

I have a section on our website that loads quite slowly as it's doing some intensive calls. Any idea how I can get a div to say something similar to "loading" to show while the page prepares itself and then vanish when everything is ready?
Shadi Almosri
  • 11,678
  • 16
  • 58
  • 80
135
votes
18 answers

Where to find Application Loader app in Mac?

I have downloaded applicationloader_1.3.dmg and installed in the destination Macintosh HD. The messages show The installation was successfully done. But, there is the ApplicationLoader app that doesn't appear anywhere. How to install and get the…
Yuvaraj.M
  • 9,741
  • 16
  • 71
  • 100
121
votes
14 answers

What is compiler, linker, loader?

I wanted to know in depth meaning and working of compiler, linker and loader. With reference to any language preferably c++.
Sachin
  • 1,283
  • 3
  • 9
  • 4
68
votes
2 answers

VA (Virtual Address) & RVA (Relative Virtual Address)

A file that is given as input to the linker is called Object File. The linker produces an Image file, which in turn is used as input by the loader. A blurb from "Microsoft Portable Executable and Common Object File Format Specification" RVA…
claws
  • 52,236
  • 58
  • 146
  • 195
58
votes
9 answers

how to set up an inline svg with webpack

I am wondering how to set up an inline svg with webpack? I am following the react-webpack-cookbook. I have my webpack.config set up correctly with the file loader. However the example shows using a background image like this: .icon { …
svnm
  • 22,878
  • 21
  • 90
  • 105
57
votes
2 answers

How to use images in css with Webpack

I am making a React w/ Webpack setup and am struggling to do what seems like should be a simple task. I want webpack to include images, and minimize them like I with gulp but I can't figure it out. I just want to be able to link an image in my css…
user3737841
  • 655
  • 1
  • 8
  • 10
56
votes
10 answers

Android: LoaderCallbacks.OnLoadFinished called twice

I noticed strange situation using Android Loaders and Fragments. When I invoke LoaderManager.initLoader() after orientation change onLoadFinished is not called (although documentation suggests I should be prepared for this) but it is called twice…
LukaszS
  • 586
  • 1
  • 4
  • 6
49
votes
3 answers

Can ES6's module loader also load assets (html/css/...)

ES6's modules are based on a flexible loader architecture (although the standard is not final, so ...). Does this mean ES6's loader, based on system.js, can load all assets? I.e. CSS, HTML, Images, Text, .. files of any sort? I ask because I'm…
backspaces
  • 3,802
  • 6
  • 34
  • 58
42
votes
6 answers

ngx-translate .instant returns key instead of value

I am trying to make a method which would accept string key and return translated string value by using translate.instant(parameter). The problem is that it returns key(parameter). Usually this is returned if it doesn't find translation. I think the…
OjamaYellow
  • 899
  • 1
  • 13
  • 27
40
votes
1 answer

Linking : .a, .lib and .def files

I am building a dll from assembly on Windows using the GNU binutils. I know that the dll can be either loaded when the executable is loaded or at run-time (using the LoadLibrary api call). For load-time loading, I seem to be only needing the dll…
Norswap
  • 11,740
  • 12
  • 47
  • 60
39
votes
2 answers

webpack sass-loader not generating a css file

I can't figure out how to render a css file with the webpack sass-loader. Here's what my webpackconfig.js looks like: module.exports = { context: __dirname + "/app", entry: { javascript: "./app.js", html: "./index.html" }, output:…
PAT-O-MATION
  • 1,907
  • 1
  • 20
  • 20
34
votes
3 answers

What does the Kernel Virtual Memory of each process contain?

When say 3 programs (executables) are loaded into memory the layout might look something like this: alt text http://img97.imageshack.us/img97/3460/processesm.jpg I've following questions: Is the concept of Virtual Memory limited to user processes?…
claws
  • 52,236
  • 58
  • 146
  • 195
30
votes
6 answers

Why are static and dynamic linkable libraries different?

If both of them contain compiled code, why can't we load the "static" files at runtime and why can't we link with the dynamic libraries at compile time? Why is there a need for separate formats to contain "standalone" code? What needs to be stored…
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
30
votes
5 answers

Difference between load-time dynamic linking and run-time dynamic linking

When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
jennyson
  • 341
  • 2
  • 4
  • 4
1
2 3
99 100