Skip to content

Releases: ZXVentures/react-native-async-image-animated

Add imageKey prop in order to help control the Image cache.

16 Oct 18:21
Compare
Choose a tag to compare

Ran into a similar problem as this issue: facebook/react-native#1397

Added an imageKey prop to facilitate here and removed the existing key prop as it was unnecessary.

Add Progressive and Placeholder Image Support

19 Sep 03:44
Compare
Choose a tag to compare

Add a progressive image with a prop to your component:

placeholderSource={{
  uri: 'http://progressive.image/yours.png'
}}

Note that the animationStyle will then be set to fade.

Placeholder images are similar with the placeholderSource prop:

placeholderSource={require('./path/to/image.png')}

Add Loading Animation to Placeholder

19 Sep 01:20
Compare
Choose a tag to compare

Added a simple animation to the placeholder that lightens its color by 20 points while loading.