如何$图像的对$ pvent重载列表视图中使用自定义适配器时刷新列表视图
问题描述:
我使用 displayImage()
方法。我想,如果我在我的列表视图重置适配器,图像不应该重新加载,如果URL是一样的previous的URL。
I am using displayImage()
method of UniversalImageLoader library in the adapter class, which sets images(from url) in the list items. i want if i reset adapter in my listview, images should not reload if the urls are same as previous urls.
答
我尝试了上述解决方案,但没有找到有用的,最后我通过保存从URL影像设备(如位图)解决我的问题,然后在列表视图中获得那里。
I tried above solutions but not find usefull, Finally i solved my problem by saving images from url to device(as bitmap) then get in list view from there.