Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

use findviewbyid in fragment

//java,how use findViewById in fragments,Android studio,2021/09/23

TextView textView;
textView=getView().findViewById(R.id.textView);

//use getView(). with it
 
PREVIOUS NEXT
Tagged: #findviewbyid #fragment
ADD COMMENT
Topic
Name
7+2 =