Skip to content

null image  #56

@eliprodigy

Description

@eliprodigy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions