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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -