react-native-pull-to-refresh-custom
react-native-pull-to-refresh-custom copied to clipboard
一点建议
参考iOS原生的下拉值和拖动值的比例, 拖动值只有下拉值的0.5左右, 可以在 PullToRefresh.tsx 的 169 行 setValue的时候乘个参数: this.state.containerTop.setValue(gestureState.dy * 0.5); 我用的0.5,感觉有内味了