I am Currently working on Android, and I created listview
that loads Images from URL. I have achieved this by following code
InputStream is = (InputStream) new URL("http://ka.35pk.com/uploadfiles/gamepic/090830121252.jpg").getContent();
Drawable d = Drawable.createFromStream(is, "pic name");
imageview.setImageDrawable(d);
In the listview
the image is not loading till I scroll down the listview
once. But it can loaded correctly on invisible part of listview
. ie , if I have 100 images on listview means, only 10 images have visible on the screen at a time, these 10 images coudn't load at begging, when I scroll down, another 10 invisible images now come to the visible part, and those images are loaded successfully now, again when I scroll up , now those unloaded images also loaded now, which means that, it coudn't be loaded when it was visible on the screen. Sorry for my English.Hope, I have explained in details. How can I load all the listview
images from URL without using scroll down/up. kindly help me. thanks.