I have got 30 ints. and 30 images. i want to set all of them same in one code
like this (in Android )
my int values are like i0 , i1 , i2
int x = 0 ;
while ( x<30) {
//set ix = 0;
x++;
}
or
"x starts from 0 to 29"
ax.setImageResource
how can I make int / images same programatically
Aucun commentaire:
Enregistrer un commentaire