如何刷新GridView的? [英] How to Refresh GridView?
本文介绍了如何刷新GridView的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何刷新网格视图?
我是用从RSS站点下载图像图像装载机类,但主要的问题是我是滚动网格视图多次否则会显示默认图像之后的图像被显示在网格视图。
I was download image from RSS Site using Image Loader Class but the main Problem is the images was displayed in grid view after i was scrolling the grid view many times otherwise default image is displayed.
请帮我。
推荐答案
在GridView有一个invalidateViews()方法。
the GridView has an invalidateViews() method.
当你调用这个方法:要重建并重新绘制各方面的意见。 http://developer.android.com/reference/android/widget/GridView.html
when you call this method: "all the views to be rebuilt and redrawn." http://developer.android.com/reference/android/widget/GridView.html
这篇关于如何刷新GridView的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文