I want to hide a menu item of BottomNavigationView dynamically based on some conditions. I tried the following but it is not working.
mBottomNavigationView.g
Try this:
navView.getMenu().findItem(R.id.your_menu_item_id).setVisible(true); navView.getMenu().findItem(R.id.your_menu_item_id).setVisible(false);