1NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
2navigationView.setNavigationItemSelectedListener(this);//"this" mean class have interface
3
1NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
2navigationView.setNavigationItemSelectedListener(this); //this meam this class have interface