Android APIs
public static interface

NavigationView.OnNavigationItemSelectedListener

android.support.design.widget.NavigationView.OnNavigationItemSelectedListener

Class Overview

Listener for handling events on navigation items.

Summary

Public Methods
abstract boolean onNavigationItemSelected(MenuItem item)
Called when an item in the navigation menu is selected.

Public Methods

public abstract boolean onNavigationItemSelected (MenuItem item)

Called when an item in the navigation menu is selected.

Parameters
item The selected item
Returns
  • true to display the item as the selected item