[android-developers] Perf and usability : How to lazy load an image from the web ?

2009-01-28 Thread jbpring...@gmail.com
Here is the code that I have been using, first it will display the image cached on the android app and then lazy load the other image from the web but from the debugger, it does not look like it fully works... final ImageView i = new ImageView(mContext); i.setLayoutParams(new

[android-developers] Help How to lazy load images

2009-01-07 Thread jbpring...@gmail.com
Hi I am using the following code to display an image from the internet ImageView i = new ImageView(mContext); i.setImageDrawable(getDrawable("http://www.google.com/images/ nav_logo3.png")); ... public Drawable getDrawable(String imgUrl) { try {