In my project i have several TextBoxes which i have to fill dynmically. I have the values to be filled in a list, and i want to apply setText to the text boxes at the time of iterating list.
Is this possible to have the name of widget as array type like textbox[1], textbox[2]……. Here in the xml it do not give any error but in the activity class while reading it gives error,
findViewById(R.id.textbox[1] //textbox cannot be resolved or is not a field.
Is there any other way of manipulating this? Thanks.
You would try using reflection: