【发布时间】:2018-01-21 09:53:39
【问题描述】:
我正在尝试在 react native 中设置平面列表的刷新指示器,但不知道该怎么做。列表视图有这个道具:
refreshControl={<RefreshControl
colors={["#9Bd35A", "#689F38"]}
refreshing={this.props.refreshing}
onRefresh={this._onRefresh.bind(this)}
/>
}
但平面列表只有这些:
refreshing={this.props.loading}
onRefresh={this._onRefresh.bind(this)}
【问题讨论】:
-
此链接上的解决方案有效,请检查此link。
标签: android react-native react-native-flatlist