How to pass an array containing urls to an image source to imageadapter of the grid view?
<p>how to pass an array containing urls as an image source to imageadapter of the grid view?
I have a working Image adapter. but the problem is the getView method of the adapter returns only one imageview. Can some one tell how to pass an array containing urls to the image adapter of the gridview ?  the getview method is here</p>

<pre><code>    public View getView(final int position, View convertView, ViewGroup parent) {
    ImageView imageView = null;

        if (convertView == null) {  // if it's not recycled, initialise some attributes
            imageView = new ImageView(mContext);
            imageView.setLayoutParams(new GridView.LayoutParams(85, 85));
            imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
            imageView.setPadding(8,8,8,8);
        } else {
            imageView = (ImageView) convertView;
        }

    //  Bitmap bmp  = loadBitmap(url[i]);
        Bitmap bmp  = loadBitmap("http://www.fgj.com/aero/planes/boeing/boeingf15.jpg");
        System.out.println("in adapter :" + url[i]);
        imageView.setImageBitmap(bmp);

    //imageView.setImageResource(mThumbIds[position]);
    //Bitmap bmp  = loadBitmap("http://www.fgj.com/aero/planes/boeing/boeingf15.jpg");
    return imageView;
}
</code></pre>
