Example usage for android.app ActionBar invalidateOptionsMenu

List of usage examples for android.app ActionBar invalidateOptionsMenu

Introduction

In this page you can find the example usage for android.app ActionBar invalidateOptionsMenu.

Prototype

public boolean invalidateOptionsMenu() 

Source Link

Usage

From source file:android.support.v7.app.AppCompatDelegateImplV7.java

@Override
public void invalidateOptionsMenu() {
    final ActionBar ab = getSupportActionBar();
    if (ab != null && ab.invalidateOptionsMenu())
        return;//from   ww  w.j ava 2 s.c  o  m

    invalidatePanelMenu(FEATURE_OPTIONS_PANEL);
}