I am using the new android.support.design.widget.BottomNavigationView from the support library. How can I set the current selection from code? I realized, that
android.support.design.widget.BottomNavigationView
bottomNavigationView.setSelectedItemId(R.id.action_item1);
where action_item1 is menu item ID.
action_item1