Questions tagged [loading]

Loading refers to retrieving necessary information for display or functionality.

Loading refers to retrieving necessary information for display or functionality. It often occurs between a client and a server computer, and can be indicated with different animations. Use this tag when asking questions about how to load information and errors concerning loading.

3827 questions
236
votes
6 answers

Using the "animated circle" in an ImageView while loading stuff

I am currently using in my application a listview that need maybe one second to be displayed. What I currently do is using the @id/android:empty property of the listview to create a "loading" text.
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
201
votes
10 answers

How to add a spinner icon to button when it's in the Loading state?

Twitter Bootstrap's buttons have a nice Loading... state available. The thing is that it just shows a message like Loading... passed through the data-loading-text attribute like this:
193
votes
12 answers

How can I run a JavaScript callback when an image is loaded?

I want to know when an image has finished loading. Is there a way to do it with a callback? If not, is there a way to do it at all?
matt
95
votes
9 answers

Reload configurations without restarting Emacs

How do I load the edited .emacs file without restarting Emacs?
memius
  • 4,045
  • 5
  • 26
  • 25
93
votes
13 answers

open resource with relative path in Java

In my Java app I need to get some files and directories. This is the program structure: ./main.java ./package1/guiclass.java ./package1/resources/resourcesloader.java ./package1/resources/repository/modules/ -> this is the dir I need to…
JuanDeLosMuertos
  • 4,532
  • 15
  • 55
  • 87
87
votes
14 answers

WPF loading spinner

The goal is to display the information that the application is working. So I'm looking for an intelligent implementation sample of a loading spinner using WPF / MVVM.
fabien
  • 2,041
  • 1
  • 16
  • 19
78
votes
10 answers

How to detect when a image is loaded, that is provided via props, and change state in React?

I want to load a different image(fake avatar) while the final avatar image is loading. The idea is to detect when the prop image is loaded and change a state. Is it possible? Some ideas? Thank you! class ImageUser extends React.Component…
72
votes
7 answers

How should I load files into my Java application?

How should I load files into my Java application?
Will
  • 2,123
  • 2
  • 15
  • 15
70
votes
4 answers

How to load packages in R automatically?

Could you suggest me a way for loading packages in R automatically? I mean, I want to start a session in R without needing to use library('package name') several times. Suppose I downloaded all packages I'll want to use the next time I start R.
nhern121
  • 3,831
  • 6
  • 27
  • 40
67
votes
7 answers

JavaScript Loading Screen while page loads

This is a little hard to explain, So I'll try my best So while a HTML page loads, I'd like there to be a cool loading screen going on. When it finishes loading, I want the loading screen to clear and the HTML document to be shown. Basically, I want…
user3931279
66
votes
19 answers

Running sites on "localhost" is extremely slow

Having real trouble using my localhost to test sites. It runs extremely slowly! Sometimes it takes up to a minute to load a page. I'm using Firefox and the sites I'm testing run fine on other developers in my office's local machines / on the…
royse41
  • 2,310
  • 4
  • 22
  • 29
64
votes
3 answers

Java: Which of multiple resources on classpath JVM takes?

If I have multiple files of the same name on classpath (e.g. I have multiple .jar with log4j.properties), what are the rules JVM follows to chose one?
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
62
votes
8 answers

Dot dotdot dotdotdot as loading?

I wanna create some loading dots, like this: At 0000 miliseconds the span content is: . At 0100 miliseconds the span content is: .. At 0200 miliseconds the span content is: ... In a loop. What is the best / easiest way to make it?
Thew
  • 15,789
  • 18
  • 59
  • 100
60
votes
5 answers

Display a ‘loading’ message while a time consuming function is executed in Flask

I’m still relatively new to Flask, and a bit of a web noob in general, but I’ve had some good results so far. Right now I’ve got a form in which users enter a query, which is given to a function that can take anywhere between 5 and 30 seconds to…
jrmedd
  • 625
  • 1
  • 6
  • 4
59
votes
5 answers

Display a loading bar before the entire page is loaded

I would like to display a loading bar before the entire page is loaded. For now, I'm just using a small delay: $(document).ready(function(){ $('#page').fadeIn(2000); }); The page already uses jQuery. Note: I have tried this, but it didn't work…
Key-Six
  • 2,439
  • 2
  • 26
  • 22
1
2 3
99 100