facebook/fresco

RetainingDataSourceSupplier ignores fadeDuration

開放

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

 (5 則留言) (1 個反應) (0 位負責人)Java (3,750 個分叉)batch import
enhancementgood first issuehelp wanted

倉庫指標

星標
 (17,072 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南