如果多次设置为相同的uri,则不会在SimpleDraweeView中显示图像。我正在低于日志
decoder->decode returned false
decoder->decode returned false
decoder->decode returned false
印刷很多时间
<com.test.view.ShadowImageView
android:id="@+id/fake_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/app_name"
android:scaleType="fitXY"
android:transitionName="Test"
app:sl_cornerRadius="3dp"
app:sl_dx="-2dp"
app:sl_dy="2dp"
app:sl_shadowColor="#60000000"
app:sl_shadowRadius="5dp" />
我正在使用扩展SimpleDraweeView创建ShadowImageView,我的适配器代码是
simpleDraweeView.setImageURI(Uri.fromFile(new File(mPath)));
我的日志打印
D/skia: --- decoder->decode returned false
D/skia: --- decoder->decode returned false
W/unknown:RequestLoggingListener: time 1744951128: onProducerFinishWithFailure: {requestId: 84, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalArgumentException}
W/unknown:RequestLoggingListener: time 1744951128: onRequestFailure: {requestId: 84, elapsedTime: -1 ms, throwable: java.lang.IllegalArgumentException}
D/skia: --- decoder->decode returned false
D/skia: --- decoder->decode returned false
W/unknown:RequestLoggingListener: time 1744953544: onProducerFinishWithFailure: {requestId: 101, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalArgumentException}
W/unknown:RequestLoggingListener: time 1744953545: onRequestFailure: {requestId: 101, elapsedTime: -1 ms, throwable: java.lang.IllegalArgumentException}