OnNavigationListener
interfaceOnNavigationListener
| android.app.ActionBar.OnNavigationListener | 
Listener interface for ActionBar navigation events.
Summary
| Public methods | |
|---|---|
| abstract Boolean | onNavigationItemSelected(: Int, : Long)This method is called whenever a navigation item in your action bar is selected. | 
Public methods
onNavigationItemSelected
Added in API level 11
      abstract funonNavigationItemSelected(
: Int,
: Long
): Boolean
Deprecated: Deprecated in Java.
This method is called whenever a navigation item in your action bar is selected.
| Parameters | |
|---|---|
| itemPosition | Int: Position of the item clicked. | 
| itemId | Long: ID of the item clicked. | 
| Return | |
|---|---|
| Boolean | True if the event was handled, false otherwise. | 
