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

Remove item from action bar

$
0
0

hi i am trying to remove item from action bar but it doesn't work for me can anyone help my code here

Ti.App.addEventListener("app:removeMenuitem",function(e){
 
                    e.menu.removeItem(myitem.getItemId);
 
                    $.index.activity.invalidateOptionsMenu();
                });

Viewing all articles
Browse latest Browse all 8068

Trending Articles