However, if the image is not available for whatever reason (and the cache is empty), my placeholder will rotate for a second or two (as expected), but my error-drawable will continue to spin after appearing.
This does not happen if the cache has an empty entry for the missing image, it would just show the error-drawable without the animation instantly.
If the image loads correctly, everything works as expected.
Some information about my environment from build.gradle:
compileSdkVersion 21
buildToolsVersion "22.0.1"
minSdkVersion 16
targetSdkVersion 21
compile 'com.koushikdutta.ion:ion:2.1.6'
Also, these might be related:
07-13 19:10:04.747 27202-27722/de.xxx.xxx D/skia﹕ --- SkImageDecoder::Factory returned null
They appear if the image could not be loaded (in this case the URL was no longer Valid) and the error-drawable starts spinning.
I'm loading images onto ImageViews inside an ArrayListAdapter with:
My loading Animation looks like this (R.anim.rotate):
However, if the image is not available for whatever reason (and the cache is empty), my placeholder will rotate for a second or two (as expected), but my error-drawable will continue to spin after appearing. This does not happen if the cache has an empty entry for the missing image, it would just show the error-drawable without the animation instantly. If the image loads correctly, everything works as expected.
Some information about my environment from build.gradle: compileSdkVersion 21 buildToolsVersion "22.0.1" minSdkVersion 16 targetSdkVersion 21 compile 'com.koushikdutta.ion:ion:2.1.6'
Also, these might be related:
They appear if the image could not be loaded (in this case the URL was no longer Valid) and the error-drawable starts spinning.