Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

AlertDialog only once on Blackberry?

$
0
0

Hi,

i create a alert dialog without buttons and present it to the user with .show(). After data is read from a database i hide this dialog with .hide().

var loadNamesDialog = Ti.UI.createAlertDialog({
        message: L('wait'),
        buttonNames: []
    });
        // some code
    peopleview.addEventListener('click', function(e){
        loadNamesDialog.setTitle(L('open') + ' ' + e.row.title);
        loadNamesDialog.show();
                // some code
        loadNamesDialog.hide();
    });
After .hide() it is not possible to show the dialog again with .show()! If i close the dialog via button everything is ok, the dialog will show up again if i use .show().

This only happens on Blackberry, i tested this with iOS and Android, on this devices i can switch the dialog on/off as many times as i need it. Behavior is the same on device and simulator. I'm using Titanium Studio, build: 3.2.3.201404181442

Am i doing something wrong or is there a bug?!


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>