KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my application generating dynamic text view. I want to add onclickListener to my text view. How can I do it please give me some hint. Here hard code for textview . for (int i = 0; i < subCategory.length; i++) { TextView tv = new TextView(this); tv.setText(subCategory[i]); tv.setId(i); sCategoryLayout.addView(tv); }
Tags (comma-separated)
Save Edits
Cancel