Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to set id to TextView programmatically java android

TextView textView = new TextView(this);
textView.setId(View.generateViewId());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #id #TextView #programmatically #java #android
ADD COMMENT
Topic
Name
2+9 =