• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Change MenuItem when it is being shown

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!
 
Back
Top Bottom