Example usage for android.view ActionProvider.SubUiVisibilityListener interface-usage

List of usage examples for android.view ActionProvider.SubUiVisibilityListener interface-usage

Introduction

In this page you can find the example usage for android.view ActionProvider.SubUiVisibilityListener interface-usage.

Usage

From source file android.support.v7ox.widget.ActionMenuPresenter.java

/**
 * MenuPresenter for building action menus as seen in the action bar and action modes.
 */
class ActionMenuPresenter extends BaseMenuPresenter implements ActionProvider.SubUiVisibilityListener {

    private static final String TAG = "ActionMenuPresenter";

From source file com.actionbarsherlock.internal.view.menu.ActionMenuPresenter.java

    public void onConfigurationChanged(Configuration newConfig) {
        if (!mMaxItemsSet) {
            mMaxItems = mContext.getResources().getInteger(R.integer.abs__max_action_buttons);
            if (mMenu != null) {
                mMenu.onItemsChanged(true);
            }