【发布时间】:2020-01-03 06:15:15
【问题描述】:
我正在尝试使用 ScrollView 中的刷新控件来实现拉动刷新。我需要修改刷新控制的拉距/阈值。我已经检查了相关的道具来实现它,但是我找不到任何与此相关的道具。
<ScrollView
contentContainerStyle={styles.subContainer}
bounces={true}
horizontal={false}
refreshControl={
<RefreshControl
refreshing={false}
tintColor={'transparent'}
onRefresh={() => {
onSwipeDown();
}}
/>
}
>
{props.children}
</ScrollView>
请帮帮我。
【问题讨论】:
标签: reactjs react-native scrollview react-native-android pull-to-refresh