Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

pass data to layout from 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");
 
PREVIOUS NEXT
Tagged: #pass #data #layout #navigation #android #studio
ADD COMMENT
Topic
Name
4+9 =