Stay organized with collections
Save and categorize content based on your preferences.
NavigationBarView.OnItemReselectedListener
public
static
interface
NavigationBarView.OnItemReselectedListener
com.google.android.material.navigation.NavigationBarView.OnItemReselectedListener
|
Known indirect subclasses
|
Listener for handling reselection events on navigation items.
Summary
Public methods |
abstract
void
|
onNavigationItemReselected(MenuItem item)
Called when the currently selected item in the navigation menu is selected again.
|
Public methods
onNavigationItemReselected
public abstract void onNavigationItemReselected (MenuItem item)
Called when the currently selected item in the navigation menu is selected again.
Parameters |
item |
MenuItem : The selected item
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# NavigationBarView.OnItemReselectedListener\n\nSummary: [Methods](#pubmethods) \n\nNavigationBarView.OnItemReselectedListener\n==========================================\n\n\n`\npublic\nstatic\n\n\ninterface\nNavigationBarView.OnItemReselectedListener\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------------------------------------------|\n| com.google.android.material.navigation.NavigationBarView.OnItemReselectedListener |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [BottomNavigationView.OnNavigationItemReselectedListener](/reference/com/google/android/material/bottomnavigation/BottomNavigationView.OnNavigationItemReselectedListener) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [BottomNavigationView.OnNavigationItemReselectedListener](/reference/com/google/android/material/bottomnavigation/BottomNavigationView.OnNavigationItemReselectedListener) | *This interface is deprecated. Use [NavigationBarView.OnItemReselectedListener](/reference/com/google/android/material/navigation/NavigationBarView.OnItemReselectedListener) instead.* | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nListener for handling reselection events on navigation items.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onNavigationItemReselected](/reference/com/google/android/material/navigation/NavigationBarView.OnItemReselectedListener#onNavigationItemReselected(android.view.MenuItem))`(MenuItem item) ` Called when the currently selected item in the navigation menu is selected again. |\n\nPublic methods\n--------------\n\n### onNavigationItemReselected\n\n```\npublic abstract void onNavigationItemReselected (MenuItem item)\n```\n\nCalled when the currently selected item in the navigation menu is selected again.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|--------------------------------------|\n| `item` | `MenuItem`: The selected item \u003cbr /\u003e |"]]