Closed guiled closed 7 years ago
Well... there is nothing to do with this widget...
The following code (no loading widget, only a createController() doesn't work good too...
function doClick(e) {
Alloy.createController('test');
var start = new Date().getTime();
var a = Titanium.UI.createAlertDialog({
title : 'b',
message : 'a',
buttonNames : ['Y', 'N'],
cancel : 1
});
a.addEventListener('click', function() {
$.label.text = 'dialog closed';
});
$.label.text = 'dialog open';
a.show();
}
$.index.open();
And finally, this was due to the main-thread property that I put to true. With this property at false, it is ok
I have a problem with AlertDialog and loading widget. It may happen that the click event is never triggered by answering the dialog box...