I have an Android Gallery ImageAdapter implementation for getView() that looks as follows:
public View getView(int arg0, View arg1, ViewGroup arg2) {
String strURL = "http://app1.exactdev.co.za/android/celebs/celeb" + (arg0+1) + ".jpg";
Bitmap bm = RemoteBitMapHelper.getRemoteBitMap(strURL); //synchronous request
ImageView i = new ImageView(ctx);
i.setImageBitmap(bm);
return i;
}
How can I make getView do its job asynchronously?