📜  已选择导航视图项 - Java 代码示例

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

代码示例2
NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this);//"this" mean class have interface