How to free downloaded image from memory in android? -


in android app, download images , set them imageviews. assuming have reference imageview, can image , free memory manually using code?

can show me how this?

thanks.

bitmap=null; 

you can bitmap bu using bitmapfactory.decoderesource(resources res, int id)

have @ abdroid developer blog tutorials on handling loading of images. it's great resource

loading large bitmaps


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -