如題,如何傳遞?
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]);
這樣不行嗎