NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); View headerView = navigationView.getHeaderView(0); avatarImg = (CircleImage) headerView.findViewById(R.id.imageView);
NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); View headerView = navigationView.getHeaderView(0); avatarImg = (CircleImage) headerView.findViewById(R.id.imageView);