1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Change MenuItem when it is being shown


Last Updated:

  1. fabiocberg

    fabiocberg Active Member This Topic's Starter

    Joined:
    Apr 7, 2010
    Messages:
    27
    Likes Received:
    1
    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...