-1

How to Refresh Grid view?

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.

Please Help me.

Dipak Keshariya
  • 22,193
  • 18
  • 76
  • 128

2 Answers2

1

the GridView has an invalidateViews() method.

when you call this method: "all the views to be rebuilt and redrawn." http://developer.android.com/reference/android/widget/GridView.html

sanjeeb
  • 87
  • 1
  • 12
0

the above one will work

Or

you can put the data collection into a method and make calls to this method every time the page reloads or for any user interaction like pulling the scroll bar but better use for page refresh

let me know if it helped

hope it works

have a great day

rajesh
  • 23
  • 6