<p dir="auto">hello, everyone.<br>
i have a problem that the images are misplaced when the gridview is scrolling fast.<br>
i just use glide in getView() like this:<br>
Glide.with().load().asBitmap().thumbnail().into();</p>
<p dir="auto">I have a ListView for which each row contain one ImageView + TextViews.<br>
Something very usual and unspectacular.</p>
<p dir="auto">The first row's Imagaeview holds an animated GIF while all other rows hold regular JPG images.</p>
<p dir="auto">On my Nexus4, somerhing funny is going on. Scrolling it the list, towards the 7th or 8th row (which are just offscreen) , a random unnanimated frame of the first GIF is displayed instead of the JPG image that should display for this row.<br>
Sometimes these are several consecutive rows (possibly 5 or 6) that display a random frame of the animated GIF.<br>
If I scroll enough in the list, all get back to normal as the GIF is evicted from the cache (guess).</p>
<p dir="auto">It goes like this:</p>
<p dir="auto">row 1:  animated GIF plays fine and is correct for this row<br>
row 2: JPG OK<br>
...<br>
row 7: JPG OK<br>
row 8:  displays still frame of row 1 GIF instead of correct JPG for this row<br>
row 9:  displays still frame of row 1 GIF instead of correct JPG for this row<br>
row 10: JPG OK<br>
...</p>
<p dir="auto">This bug happens on my Nexus 4 running 4.4.4 but not my Nexus 5.</p>
<p dir="auto">Looking at the logcat, there's something interesting.<br>
Each time a row displays a frame of the animated GIF instead of the image it should, the logcat reads:</p>
<p dir="auto">01-05 22:34:26.651: W/Adreno-ES20(26984): &lt;core_glTexSubImage2D:575&gt;: GL_INVALID_OPERATION<br>
01-05 22:34:26.651: D/OpenGLRenderer(26984): GL error from OpenGLRenderer: 0x502</p>
<p dir="auto">So the process of animating GIF somewhat trigger this (probable) driver bug when loading subsequent<br>
images.</p>
<p dir="auto">This looks to be a driver bug so I understand probably not much can be done at the library level although a workaround would be nice.</p>