Android7.0中文文档(API) -- ActionMenuView.OnMenuItemClickListener

完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/ActionMenuView.OnMenuItemClickListener.html

ActionMenuView.OnMenuItemClickListener

public static interface ActionMenuView.OnMenuItemClickListener

android.widget.ActionMenuView.OnMenuItemClickListener


Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.
如果项本身没有单独的项点击监听器,则此接口负责接收菜单项的点击事件。

摘要


Public方法

abstract boolean onMenuItemClick(MenuItem item)

This method will be invoked when a menu item is clicked if the item itself did not already handle the event.
当一个菜单项被点击时,如果项本身没有处理这个事件,则这个方法将被调用,。

Public methods


onMenuItemClick

你可能感兴趣的:(Android)