react-native-cacheable-image
react-native-cacheable-image copied to clipboard
null image
Hi, i'm using this plugin for remote images and there urls come from server response so before the ajax call to the server the state for url image is null and when the server return response i set the state but its still stuck on the ActivityIndicator i think may the i cant set null as a sources
** This image is a background for the view and my solution look bad and have screen jump
return (
<View style={{ flex: 1 }}>
{this.props.backgroundImg ?
<CacheableImage
source={{ uri: this.props.backgroundImg }}>
{this._content()}
</CacheableImage> : this._content()}
</View>
)
Thanks
+1, same problem