Open lgorse opened 9 years ago
The video is private, but my guess is that you are not correctly recycling the view. You probably want to set the ImageView image to null when you start the task to reload it. You also should really cache the images in an LRUCache.
i have the same issue working with twowaygridview library, i am using lrucache already, and every time i call notifydatasetchanged() on list adapter it refreshes everything, casing list view to flicker a lot. any help please?
I use your two-way-gridview (congrats on the simplicity of it by the way) to show a horizontal list of photos my user has taken. The gridview is backed by a simple cursor adapter, and it updates every time the user takes a picture (the photos are in reverse order of creation date). I do use a viewbinder because the picture loading is really slow on the default cursor adapter class.
The problem is that when the photos update, they listview will appear to run the cursor backa nd forth and update the imageviews multiple times. It's very confusing to the user as the imageviews update onces, then again, before re-updating a final time.
Here's the link of what that looks like: http://youtu.be/PZvKeKsQBUE
I'm guessing this is due to some confusion in the manipulation of columns to get the gridview to scroll horizontally - but hopefully there's a way around it? Here are the methods that update the gridview: