onNavigationItemSelected

Called when an item in the navigation menu is selected.

Return

true to display the item as the selected item and false if the item should not be selected. Consider setting non-selectable items as disabled preemptively to make them appear non-interactive.

Parameters

item

The selected item