react-native-ptr-control
react-native-ptr-control copied to clipboard
custom refresh and load more component, supported ScrollView, ListView, FlatList and VirtualizedList
We encounter error on android device and cause some force close. Because null is not an object (evaluating 's._scrollView.setNativeProps'). The error messages are come from bugsnag. This is our code....
界面直接就是显示 上拉即可加载更多... 这些文字在没上拉的状态也显示的 在android设备上测试的
On android, the onHeaderRefreshing event is fired when the component is first mounted. On iOS it does not. I expect that it should only fire on android once the screen...
可以加个static method 作为手动刷新