1. 2015 is going to be a great year for Android! Why wait??
    Samsung Galaxy Note 5 | Samsung Galaxy S6 | HTC One M9
  2. New Forum Created: Samsung Gear VR!

Change MenuItem when it is being shown


  1. fabiocberg

    fabiocberg Active Member

    Hi all!

    I need to disable a menuitem when it is being shown.
    Are there any way to do it?
    The function onPrepareOptionsMenu is called every time before to show the menu, I know. But it doesn't solve my problem, because I need disable a menuitem when it is being shown if a certain thing happen.

    Thanks!

    Advertisement
    :
Loading...

Share This Page