Google 致力于为黑人社区推动种族平等。查看具体举措

BottomNavigationView.OnNavigationItemReselectedListener

public static interface BottomNavigationView.OnNavigationItemReselectedListener

com.google.android.material.bottomnavigation.BottomNavigationView.OnNavigationItemReselectedListener


Listener for handling reselection events on bottom navigation items.

Summary

Public methods

abstract void onNavigationItemReselected(MenuItem item)

Called when the currently selected item in the bottom navigation menu is selected again.

Public methods

onNavigationItemReselected

void onNavigationItemReselected (MenuItem item)

Called when the currently selected item in the bottom navigation menu is selected again.

Parameters
item MenuItem: The selected item