Could you please share your code snippet as well as Rhodoe version?
What device are you testing on?
Hi: This is how I have my mobileinit:
$.mobile.hideUrlBar = true;
<% if Rho::System.platform == "WINDOWS" %>
$.mobile.defaultPageTransition = 'none';
<% else %>
$.mobile.defaultPageTransition = 'slidefade';
<% end %>
$.mobile.defaultDialogTransition = 'none';
$.mobile.loadingMessageDelay = 50; // in ms
I'm using jqmobile-patch.js but i've commented out jqmobile-patch.css, since it messes up some of my views. It happens on every view, so I don't know what other code I could share.
My test device is a Samsung Galaxy S3 Mini, running Android 4.1.2, and I'm using Rhodes 4.0.0
Temporary, i've created a "loadable" class that I use on every button or link, and added JS code to show the loading widget on those buttons/links. Solution would be perfect if it wasnt for the fact that clicking rapidly on the same link spawns two widgets, one of which stays often on the screen until you navigate away from the page.
Please refer the link Re: Jquery Mobile Loading widget not shown (as you said) on how to use show and hide the loading widget manually. Otherwise, loading widget will appears only when calling the controller method.
Ok, thanks, I'll do it manually then.