Pase los datos al diseño de Navigation Android Studio

NavigationView navigationView = findViewById(R.id.navigation_view);
View v = navigationView.getHeaderView(0);
TextView txv = v.findViewById(R.id.name);
txv.setText("Test");
Stormy Shark