I have created some buttons dynamically in a class with this code: The variable drawView.getNumeroMallas() could be different each time
for(int i=0;i<drawView.getNumeroMallas();i++){
Button buttonMalla = new Button(this);
buttonMalla.setText("Malla "+(i+1));
buttonMalla.setId(i+1);
buttonMalla.setTag(Boolean.FALSE);
}
And now I want to find these buttons inside a loop in another class. Any idea?