The following is not compiling and there is no method in the R class which accepts a string of id and returns its corresponding int value. Here, checkBoxName is an array of String.
int id = "R.id."+checkBoxName[i];
The following is not compiling and there is no method in the R class which accepts a string of id and returns its corresponding int value. Here, checkBoxName is an array of String.
int id = "R.id."+checkBoxName[i];