We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a ListViewItem.js which have an inner image
<TouchableHighlight underlayColor="#ccc" onPress={this._navigateToDetail}> <View style={styles.container}> <View style={styles.leftCol}> <Image style={styles.couponImage} source={{uri: 'http://placehold.it/80x80'}}/> </View> <View style={styles.rightCol}> <Text style={styles.couponTitle}>{this.props.coupon.title}</Text> {companyTitle} </View> </View> </TouchableHighlight>
The internet access was very slow, so the <Image/> seems to block the list rendering process. List cannot show up.
<Image/>
I tried to console.log in **ListViewItem#render`, and it only output once. It was expected to output six times.
console.log
Also I tried to reset contents in simulator, but it doesn't work. Is there any solution for this? Do I have to manually fetch image? @vjeux
fetch
The text was updated successfully, but these errors were encountered:
@tjwudi The react is based on asyc and threads so image cannot block direcly the app.
can you provide more information about react version and your code thanks
Sorry, something went wrong.
Closing until we hear back from @tjwudi!
No branches or pull requests
I have a ListViewItem.js which have an inner image
The internet access was very slow, so the
<Image/>
seems to block the list rendering process. List cannot show up.I tried to
console.log
in **ListViewItem#render`, and it only output once. It was expected to output six times.Also I tried to reset contents in simulator, but it doesn't work. Is there any solution for this? Do I have to manually
fetch
image? @vjeuxThe text was updated successfully, but these errors were encountered: