the alert appears inexplicably

You must Login before you can answer or comment on any questions.

Application type: mobile Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777) Platform : Android x.x Titanium Studio, build: 2.1.2.201208301612

hello guys I have a problem inexplicable, in practice I have created an alert that appears when I click on a row in a table, and this happens but the alert seems to me even when I open the application. why? this is the code:

tablewin1.addEventListener('click',  function(e){
    win1.close();
 
    switch (e.index) {
 
        case 0: win2.open(); AlertWin2.show(); break;
    }
 
 
});
 
var AlertWin2 = Titanium.UI.createAlertDialog({
 
    message: "verso dove vuoi andare?",
    buttonNames: ['Chiudi']
 
});

— asked 8 months ago by Giuseppe Parasiliti
2 Comments
  • ho risolto il problema scusate. in pratica aveva un AlertWin2.show() che non vedevo

    — commented 8 months ago by Giuseppe Parasiliti

  • I solved the problem sorry. in practice had a AlertWin2.show () I have not seen

    — commented 8 months ago by Giuseppe Parasiliti

Your Answer

This question has been locked and cannot accept new answers.