I'm kinda new to Android Studio and i have a question. I'm currenly using this method to SetContent
ImageView img1 = (ImageView)findViewBtId(R.id.Img1);
ImageView img2 = (ImageView)findViewBtId(R.id.Img2);`
but i wanted to array the img1,img2,img3
so i can setcontent them automaticly somthing like this
ArrayList <ImageView> imgs = new ArrayList <ImageView>();
imgs.add("img1");
imgs.add("img2");
imgs.add("img3");
for (int i =0;int i < imgs.length();i++)
{ imgs[i] = ...;}
Can I use this or something else? Does Android Studio can't have something like that?