【发布时间】:2017-09-18 11:08:30
【问题描述】:
当我单击列表项索引之一中的按钮时,我正在使用索引值和一个按钮显示列表项,其他列表项应该显示为禁用。有可能吗?
<TouchableOpacity onPress={() => {this.downloadLessonItems()}}>
{!this.state.isDownloading && !this.state.isDownloaded &&
<Image
style={styles.imgContainer}
source={this.state.downloadImageURI} />}
</TouchableOpacity>
【问题讨论】:
标签: react-native react-native-listview react-native-flatlist touchableopacity touchablehighlight