Remote images don't load in Appcelerator (mobilesdk-1.7.1) - imageview

I have a tabGroup with two tabs:
tab1 and tab2 both have a TableView with some remote images.
If I scroll really fast in tab1 and then quickly change to tab2 before the images can get a change to load and before the momentum scroll has stopped, no images will load in tab2. I have to manually to a little scroll in tab2 before the images will start loading.
Can anyone think of a solution to this?
Thanks in advance.

If I am understanding you correctly this is natural on the iPhone, check out a long listing on iTunes in the mobile app and you will see not only does it only load the images you scroll slowly over but also removes them if you scroll a certain number of rows up or down and will reload them when you come back to them. I believe this is a memory saving technique.

Related

Problem with slider images loading time and display

I have a problem with the sliders on my website (I just started coding recently).
http://www.willybass.com
Depending on the browser and the connexion, the images sometime do not load and the slider displays completely flat (then it only display correctly if you hit refresh, or sometimes it loads and displays, again depending on the browsers and connexion).
Does anyone know what is the best solution to this issue ? (to at least display a grey background with the dimension of picture that didnt load, while it loads)

Updating nodes on resizeable application in JavaFX

Im writing an application in Java/JavaFX 8 which allows me to scan barcodes and display various informations linked to that barcode.
My application works as expected and all the node that needs to get updated after a scan are getting updated without a problem.
The initial height and width of the app are 900x600px (min-values). My problem starts when i resize my application (make it bigger). After resizing the app / maximize it the nodes (progressbars, buttons, textareas, etc) that needs to be updated after a scan are blocked by a white rectangle and thus wont show the updates node anymore.
Example images:
It should looks like this:
node_ok
But it looks like this:
node_wrong
The interessting part is, that the node still works e.g. buttons are still clickable, it just wont show.
As soon as i resize the app to its original size the problem disappears. I can also start the application maximized and the problem ist not there as long as i dont start resizing the app.
I tried to find any similar problems that could help me find my error but i was unable to do so.
Is this a bug in JaxaFX or am i missing something on my end?

Revolution Slider Carousel loads tiny

I implemented a rev slider in my wordpress site and im not very impressed.
The first carousel slider loads okay on page load but the next batch of carousel sliders seems to take ages before it assumes the actual size. Here is a snapshot to explain better.
This is the first carousel slider on the tab and displays by default on page load which looks great.
This second one on the secon tab just doesnt load quite right and will last forever in this size unless i refrest the page many times. Not cool at all.
I have the feeling i missed some configuration but cant seem to get any help throug google searches and will appreciate all the help i can get.
Thaks.
This is not a configuration issue but script conflict issue happening because sliders are in tabs so initially first tab content is visible while others are hidden so technically content of 2nd tab has 0 height. And since slider calculates the space it is going to occupy dynamically, it gets smaller height as tab scripts are loaded a bit after slider scripts are. Try contacting ThemePunch support and ask them for redraw code which will redraw slider using slider API forcing slider to force reload upon page load, resulting in loading slider properly the first time.

How do I only load more items when the user scroll all the way down?

In my project, all the items are loaded at once, and this will affect the performance if there were many items to be loaded.
Am trying to load 9 items each time the user scroll all the way to the end of the page.
any guidance on how to implement it please?

Easy way to display a loading screen while downloading and upserting on ASP?

I've only seen examples on how to display loading gifs while the page itself loads, and stopping once it's loaded, but I want it to display the loading gif while the code is downloading some XML files, reading them and upserting its content, it does this with button click event.
I'd like for it to display that circle loading gif, and hopefully like 'lock up' the screen, I got this idea it would look great if it somehow grayed out the page and displayed only a the gif on the center over the rest of the page until the process was finished, like the UAC popup window on Windows, but just the image will do for starters.
What's the best approach for this? Thanks!

Resources