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
5
votes
1 answer

Code igniter third party, $this->load->add_package_path not working correctly

I am trying to use elliothaughins Socialize system for code igniter, However I keep getting Message: include(application/third_party/config/socializenetworks.php): failed to open stream: No such file or directory I have traced this issue and when…
Hailwood
  • 89,623
  • 107
  • 270
  • 423
5
votes
2 answers

Windows initial execution context

Once Windows has loaded an executable in memory and transfert execution to the entry point, do values in registers and stack are meaningful? If so, where can I find more informations about it?
Nicolas Repiquet
  • 9,097
  • 2
  • 31
  • 53
5
votes
4 answers

Importing YAML data at build-time in Webpack, and making it available as parsed data at runtime

I'm attempting to import the contents of a YAML file at build-time, and make the parsed content available to my application somehow. This is in a Webpack project that I've been tasked with building a new feature for. The project is using Vue. I have…
Andrew Plank
  • 942
  • 10
  • 22
5
votes
2 answers

what does the BSS segment store?

I know that the BSS segment stores the uninitialized global and static variables and initializes them to zero. But what if the global/static variable is initialized and my second question is I read that BSS segment doesn't consume memory, then where…
hue
  • 1,759
  • 3
  • 27
  • 37
5
votes
0 answers

Cannot import mp3/wav files in React with file-loader

I've been trying to import some mp3 and wav files in React, but I'm getting errors on compiling which seem related to loaders. Different syntax. { test: /\.(mp3|wav)$/, use: { loader: 'file-loader', }, …
jmangz
  • 133
  • 1
  • 1
  • 7
5
votes
1 answer

Difference: Webpack css-loader and raw-loader

So according to this question, css-loader loads file as string, resolves webpack dependency according to require, and style-loader inserts style tag into page, and in many cases, css-loader can be replaced by raw-loader. I'm currently using: loader:…
Lucia
  • 13,033
  • 6
  • 44
  • 50
5
votes
1 answer

Loader onLoadFinished() not called

In preference change listener I have set it to download new data using Loader and then fill the ListView, but only the onCreateLoader() function is called when I change the preference, the onLoadFinished() callback function remains uncalled, hence…
Nikhil Soni
  • 119
  • 9
5
votes
1 answer

What parts of a PE file are mapped into memory by the MS loader?

What parts of a PE file are mapped into memory by the MS loader? From the PE documentation, I can deduce the typical format of a PE executable (see below). I know, by inspection, that all contents of the PE file, up to and including the section…
Shuzheng
  • 11,288
  • 20
  • 88
  • 186
5
votes
3 answers

How to use Webpack loaders in a Node app?

Is there a way to use Webpack loaders in a Node app / Run a Node app in a Webpack environment? For instance I've got a webpack config that has a style-loader. In my Node app I do the following: import style from…
haxpanel
  • 4,402
  • 4
  • 43
  • 71
5
votes
1 answer

Angular 2 ngOnDestroy is not triggering

Good morning fellows I've developed a small angular2-client-app which got routes. The routes are created like this: app.routes.ts import { provideRouter, RouterConfig } from '@angular/router'; import { ContactComponent } from…
Enis B
  • 140
  • 1
  • 7
5
votes
0 answers

webpack loader: how to add file to fileSystem cache

I'm trying to write a loader that adds a derivative file to the webpack filesystem cache. At a high level, I have a CSS loader that should generate TypeScript type definition files for the CSS classes. This loader lives in the middle of the loader…
Athyuttam Eleti
  • 589
  • 5
  • 9
5
votes
2 answers

webpack "cannot find module"

Switching from Gulp to Webpack, can't get LESS css to work for some reason module.exports = { entry: { web: ['./src/web/ts/index.js'] }, output: { path: './dev/web/js/', filename: 'bundle.js' }, devtool:…
Stone
  • 1,811
  • 2
  • 14
  • 14
5
votes
7 answers

Execute data as code?

My client asked me to write an custom encrypted executable to prevent easy cracking of the licensing system. Now, I understand that this is a false sense of security, but despite this he insisted on it. So, I dug up my knowledge of portable…
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
5
votes
3 answers

How to propertly connect signal in Loader's item?

I want connect one signal from QObject to various pages, loaded by the "Loader" qml element. My problem similar Dead QML elements receiving signals? but loaded items destroyed before calling the "onDestruction" method. For example below, if switch…
Andrey Reeshkov
  • 331
  • 5
  • 14
5
votes
3 answers

what does PC have to do with load or link address?

Link address is the address where execution of a program takes place, while load address is the address in memory where the program is actually placed. Now i'm confused what is the value in program counter? is it the load address or is it the link…