本文介绍了避免内存不足的错误在列表视图中加载位图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个列表视图,我从网上加载的位图..但现在的问题是我有在ListView 1000项左右,这是造成我内存不足的错误..我已经使用了图像缓存也..
I am having an listview and i am loading bitmaps in it from the web .. but now the problem is i am having 1000 item in the listview so, it is causing me out of memory error.. i have used the image caching also..
推荐答案
我想使用的任何一个下面将解决您的问题。
I think using any one of the below will solve your problem
这篇关于避免内存不足的错误在列表视图中加载位图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!