jayesbe / react-native-cacheable-image

An Image Component for React Native that will cache itself to disk.
MIT License
304 stars 78 forks source link

null image #56

Open eliprodigy opened 7 years ago

eliprodigy commented 7 years ago

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()} : this._content()} )

Thanks

anorudes commented 7 years ago

+1, same problem