for example:
ImageView imageview1;
ImageView imageview2;
ImageView imageview3;
imageview1=(ImageView)findViewById(R.id.main1);
imageview2=(ImageView)findViewById(R.id.main2);
imageview3=(ImageView)findViewById(R.id.main3);
imageView1.setVisibility(View.GONE);
imageView2.setVisibility(View.GONE);
imageView3.setVisibility(View.GONE);
if I use to generate multiple objects, how can I implement these in batches?