facebook/fresco

RetainingDataSourceSupplier ignores fadeDuration

Open

#2,023 建立於 2018年1月18日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)Java (17,072 star) (3,750 fork)batch import
enhancementgood first issuehelp wanted

描述

Description

We've used the RetainingDataSourceSupplier for replacing blurred thumb image with good quality image when a user clicks a download button. We've set the fadeDuration of DraweeHierarchy to 300 ms. The first blurred thumb shows up with a fade animation but the second image shows up immediately without any animation.

We've also tried to replace image setting the LowRes and HighRes images when user clicks on download button. But we've got the same result. The second image shows up without any animation.

Is there any solution for replacing images with animation?

Reproduction

Solution

Additional Information

  • Fresco version: 1.7.1
  • Platform version: Android 7.0

貢獻者指南