public void criaForm(){
for (int i = 0; i < 5; i++) {
EditText et = new EditText(this);
linearLayout.addView(et);
TextView tv = new TextView(this);
linearLayout.addView(tv);
}
}
I've created multiple EditTexts
within a for
, so they have the same name and id, is there any way I can differentiate them? Thank you in advance!