how to change text of textview in slide menu bar header android

Solutions on MaxInterview for how to change text of textview in slide menu bar header android by the best coders in the world

showing results for - "how to change text of textview in slide menu bar header android"
Ivanna
30 May 2016
1NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
2View headerView = navigationView.getHeaderView(0);
3TextView navUsername = (TextView) headerView.findViewById(R.id.navUsername);
4navUsername.setText("Your Text Here");
5
similar questions