我試圖設置反應本地的平板列表刷新指標,但不知道如何去做。列表視圖有這個道具:如何設置FlatList的刷新指標爲反應本機?
refreshControl={<RefreshControl
colors={["#9Bd35A", "#689F38"]}
refreshing={this.props.refreshing}
onRefresh={this._onRefresh.bind(this)}
/>
}
但平直列表只有這些:
refreshing={this.props.loading}
onRefresh={this._onRefresh.bind(this)}
這個鏈接的作品的解決方案,請選中該[鏈接](https://stackoverflow.com/questions/38256972/how-to-customize-look-feel-of-react-native -listviews-refreshcontrol)。 – bamne123