facebook/fresco

Images flash upon loading

Open

#1.963 geöffnet am 6. Nov. 2017

Auf GitHub ansehen
 (1 Kommentar) (2 Reaktionen) (0 zugewiesene Personen)Java (3.750 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (17.072 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

Upon loading an image (gif/jpg/webp/png) the image flashes the background color then loads the image. I expect that the image would just load and only have a placeholder when the image takes a while to load. This problem is irrelevant to the size of the image (img size 10kb). Even if the image loads immediately the background color flashes.

Reproduction

Essentially just load an image and replace it with another image on the same scene. I have a git project with the issue where it flashes red: https://github.com/dnam50/gifTry.git

ezgif com-video-to-gif

Additional Information

  • Fresco version: [1.5.0]
  • Platform version: [nexus 6 api 25] but has been tried on numerous android devices.

Contributor Guide