I am working on an application that have use internet.
What i want to do if connection available than option menu showing if not than hide specific menu. & when internet available application show all menu item.
I am working on an application that have use internet.
What i want to do if connection available than option menu showing if not than hide specific menu. & when internet available application show all menu item.
You can try this. removeItem
You just have to pass an Id of your menu item that wants to hide. Add item again whenever you want.