how to slide splitted images in grid view for making puzzle game in android?
<p>Hi everyone,
               I am taking an image from camera and displayed it in an <code>ImageView</code>, next on clicking a <code>Button</code> i am splitting the image into 9 equal pieces by using following code</p>

<pre><code>ArrayList&lt;Bitmap&gt;cut=new ArrayList&lt;Bitmap&gt;(split);
        BitmapDrawable bd=(BitmapDrawable)pic.getDrawable();
        Bitmap b=bd.getBitmap();
        Bitmap cutimage=Bitmap.createScaledBitmap(b, b.getWidth(), b.getHeight(), true);
        rows=cols= (int) Math.sqrt(split);
        hgt=b.getHeight()/rows;
        wdt=b.getWidth()/cols;



ArrayList&lt;Bitmap&gt; breakedimages== getIntent().getParcelableArrayListExtra("breaked image");
</code></pre>

<p>and i am placing all the splitted images in the Arraylist next how to move those splitted images in <code>GridView</code>. I have to jumble the splitted images in the <code>GridView</code> and after arranging all the images in grid view in correct order (actual image)then a toast should be displayed .</p>

<p>I have successfully splitted the images and displayed in grid view,next i cannot make them into jumble order can any one help me.</p>
