我是一个新手,Android的家伙。
I am a newbie Android guy.
我有ListView控件的每一个元素上显示图像的ListView控件,它工作正常......但是当我开始滚动我已经意识到我的形象再一次,如果它显示在我的手机设备的屏幕下载!
I have a ListView displaying images on every element of the ListView, It works fine... but when I start to scrolling I have realized my image is downloaded again if it is displayed in the screen of my phone device!
我怎么能阻止重装图像或所有的ListView的内容了吗? 或者,我怎么能避免再次读getView()函数,如果我已经下载了它的所有内容吗?
How could I stop reloading the images or all the content of the in ListView again? Or how could I avoid reading the getView() function again If I have already downloaded all its content?
要扩大CaseyB的建议,我建议你看的涡轮充电您的UI交谈
To expand on CaseyB's suggestion, I'd recommend you watch the Turbo-charge your UI talk
看第一部分,看看您是否正确实施适配器。
Watch the first section to see if you implementing the adapter properly.
此外开始从50:00观看为位图高速缓存的一个简单的例子。事实上观看整个视频。
Also start watching from 50:00 for a simple example of a bitmap cache. In fact watch the whole video.