Solved the issue by having a separate Bitmap object for each Image and then when the user navigates to the next page, decode the next bitmap, show it on the ImageView and then recycle the previous one. For eg. in my gotoNext()
switch(index) { case 1: h2=BitmapFactory.decodeResources(res,R.drawable.h2); im.setImageBitmap(h2); h1.recycle(); break; } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en