1. Download our Official Android App: Forums for Android!

Apps Change MenuItem when it is being shown

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

  1. fabiocberg

    fabiocberg Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    27
    Joined:
    Apr 7, 2010

    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...