title: Android Studio How can i change by Activity the name of navigation-drawer?
body: <p>I have this Navigation-drawer and I want to change the name "Usuario" by Activity, but when i put this code and compile the app, this app closes.</p>
  
  <p><a href="https://i.stack.imgur.com/WVCWE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WVCWE.png" alt="enter image description here"></a></p>
  
  <pre><code>final TextView Name_nav = (TextView) view.findViewById(R.id.Name_nav);
      Name_nav.setText(name);
  </code></pre>
  
  <p>When Name_nav is the textView's name from the nav_header_main.xml, thx to your help</p>