int[] images2 = {
R.drawable.wrong, R.drawable.reviewp,
R.drawable.bowl, R.drawable.ic_action_search
};
List<int[]> pic=Arrays.asList(images2);
Collections.shuffle(pic);
Random random = new Random();
for(int i = 0 ; i <= 3 ; i++){
ReciverI[i].setBackgroundResource(images2[ "at here i want to get the image position" ]);
}
帮我获取图像的位置
这是行不通的
ReciverI[i].setBackgroundResource(images2[Integer.parseInt(pic.get(i).toString())]);
这给了我错误的结果