get the position of image after shuffle list of Imageview array
<pre><code>int[] images2 = {
            R.drawable.wrong, R.drawable.reviewp,
            R.drawable.bowl, R.drawable.ic_action_search
            };
List&lt;int[]&gt; pic=Arrays.asList(images2);
Collections.shuffle(pic);
Random random = new Random();
for(int i = 0 ; i &lt;= 3 ; i++){

    ReciverI[i].setBackgroundResource(images2[ "at here i want to get the image position"   ]);
    }
</code></pre>

<p>help me to get the position of image </p>

<p>this is not working </p>

<pre><code>    ReciverI[i].setBackgroundResource(images2[Integer.parseInt(pic.get(i).toString())]);
</code></pre>

<p>this give me wrong result </p>
