Hi All! I am using light weight windows in my project, back button event listener not worked -> winDetail.addEventListener('android:back', function(e)){}. I have posted My Question on this blog too, but got no answer. Now I want to disable the back button click. is there any way to disable the default back button?
thanks in advance.
2 Answers
Accepted Answer
//handling back button win.addEventListener('android:back',function(){ //leave it blank });
var emptyview = Ti.UI.createView(); win.setLeftNavButton(emptyview);Try this
Your Answer
Think you can help? Login to answer this question!