📌  相关文章
📜  android bottomnavigationview 设置当前项目 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:06.889000             🧑  作者: Mango

代码示例1
BottomNavigationView bottomNavigationView;
bottomNavigationView = (BottomNavigationView) findViewById(R.id.bottomNavigationView);
bottomNavigationView.setOnNavigationItemSelectedListener(myNavigationItemListener);
bottomNavigationView.setSelectedItemId(R.id.my_menu_item_id);