1. Check out our app, Forums for Android! Download and leave feedback here!

Change MenuItem when it is being shown

Discussion in 'Application Development' started by fabiocberg, Apr 7, 2010.

  1. fabiocberg

    fabiocberg Active Member
    Thread Starter
    16

    Apr 7, 2010
    27
    1
    16
    Programmer (Coordinator)
    Brazil
    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

Share This Page

Loading...