java - how to recycle image from ListView in Android using custom ListAdapter and Cache View -


my app working seem getting error running out of ram. seem working point scroll more , and run out of memory. need recycle image in list when user scroll past them. don't know begin recycle

i using code tut this code using

thanks

here error in adapter:

convertview = ( relativelayout ) inflater.inflate( resource, null ); 

you have check if convertview null , if - create new view, otherwise use convertview given method params


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -