Hi there,
I see that in the android it doesn't really display the loading image when it's shows for the second or more time.
What i did to fix this was when the show function is called, i call the method the TiLoad.spinner.start() only for android.
The code would be like this:
show: function() {
if(!TiLoad.visible) {
TiLoad.size();
TiLoad.visible = true;
TiLoad.window.open(TiLoad.animOpen);
if(Ti.Platform.osname == "android")
TiLoad.spinner.start();
};
}
What I use:
- Titanium SDK 1.7.5
- Titanium Studio 1.0.6
- Android Google API 2.2
Greetz,
Sky Tang
Hi there,
I see that in the android it doesn't really display the loading image when it's shows for the second or more time.
What i did to fix this was when the show function is called, i call the method the TiLoad.spinner.start() only for android.
The code would be like this:
show: function() {
if(!TiLoad.visible) {
TiLoad.size();
TiLoad.visible = true;
TiLoad.window.open(TiLoad.animOpen);
if(Ti.Platform.osname == "android")
TiLoad.spinner.start();
};
}
What I use:
Greetz,
Sky Tang