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

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

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