如题,如何传递?
ImageView数组:
private Integer[] Imgid = {
R.drawable.pic1,
R.drawable.pic2,
R.drawable.pic3,
R.drawable.pic4,
};
Bitmap bitmapOrg = BitmapFactory.decodeResource(getResources(),**R.drawable.pic1[]???**);
ImageView ImageView = (ImageView)findViewById(Imgid[index]);
这样不行吗
Integer[] Imgid = {
R.drawable.share,
R.drawable.share,
R.drawable.share,
R.drawable.share,
};
Bitmap bitmapOrg = BitmapFactory.decodeResource(getResources(),Imgid[0],null);//根据下标取