SpinnerDialog icon indicating copy to clipboard operation
SpinnerDialog copied to clipboard

android (on tap of screen loader fizzles out)

Open kokoman opened this issue 11 years ago • 6 comments

Hello nice plugin, but i noticed something on android device, phonegap 3.1, when i call the loader nd also call the hide function like this : i noticed if i put my finger on the screen, the loader stops, it dosent load the exact time 7 secs specified or any timeout specified. Is that a default behaviour ? or bug Regards

kokoman avatar May 08 '14 07:05 kokoman

It's default behaviour, there's an OnCancelListener specified which handles the cancel events.

Paldom avatar Jun 03 '14 14:06 Paldom

sorry, I don't understand the answer, does it mean that nothing can be done, ora that can be handled the OnCancelListener event in some way to avoid the loader to stop?

thanks

juliosecco avatar Jun 20 '14 15:06 juliosecco

There's a cancel listener defined for now, which stops loader on tap or hardware back event. It's planned to disable this option from javascript, so it would be optional to stop loader on any events.

Paldom avatar Jun 27 '14 11:06 Paldom

So is this option available now? How can I disable 'touch to close' of spinner?

vishnurajoasys avatar Aug 20 '14 11:08 vishnurajoasys

@kokoman @juliosecco @vishnurajoasys Hi guys! you can disable 'touch to close' and make spinner non-cancelable on Android from version 1.1.0 // Set spinner dialog fixed (cannot be canceled with screen touch or hardware button - Android only) window.plugins.spinnerDialog.show("title","message", true);

Paldom avatar Oct 06 '14 13:10 Paldom

Worderful

thank you very much!

Giulio

BitBazar Srl Via Andrea Doria, 57 00192 Roma tel +39 0639737052 tel +39 0639725787 fax +39 0691659229 http://www.cantoberon.it


Il giorno 06/ott/2014, alle ore 15:07, Paldom [email protected] ha scritto:

@kokoman @juliosecco @vishnurajoasys Hi guys! you can disable 'touch to close' and make spinner non-cancelable on Android from version 1.1.0 // Set spinner dialog fixed (cannot be canceled with screen touch or hardware button - Android only) window.plugins.spinnerDialog.show("title","message", true);

— Reply to this email directly or view it on GitHub.

juliosecco avatar Oct 06 '14 13:10 juliosecco