android.view
public
static
interface
android.view.Menu.OnClickListener
| android.view.Menu.OnClickListener |
|
Interface to find out when a menu item is invoked.
Summary
Details
Public Methods
public
boolean
onClick(Item item)
Called when a menu item has been invoked. This is the first code
that is executed; if it returns true, no other callbacks will be
used.
Parameters
| item
| The menu item that was invoked. |
Returns
- Return true to consume this click and prevent others from
seeing it.