我正在尝试在本机反应中设置平面列表的刷新指示器,但不知道该怎么做。列表视图有这个道具:
refreshControl={<RefreshControl
colors={["#9Bd35A", "#689F38"]}
refreshing={this.props.refreshing}
onRefresh={this._onRefresh.bind(this)}
/>
}
但是平面列表只有这些:
refreshing={this.props.loading}
onRefresh={this._onRefresh.bind(this)}