jsdf / react-native-refreshable-listview

Deprecated. A pull-to-refresh ListView which shows a loading spinner while your data reloads
1.38k stars 168 forks source link

How to trigger loadData by on release ? #27

Open atom2ueki opened 9 years ago

atom2ueki commented 9 years ago

is there a function or way to control load data only after release on pull action ? it need able to working with minPulldownDistance so that the data only refresh when hit both conditions

jrichardlai commented 9 years ago

I'm interested in this too

iplus26 commented 9 years ago

+1

atom2ueki commented 8 years ago

@jrichardlai @iplus26 here is my fork, added this feature, hope this help https://github.com/atom2ueki/react-native-refreshable-listview

iplus26 commented 8 years ago

@atom2ueki Thanks for your effort! I've checked out your repo but there still are some problems, since I fail to create an issue directly in your repo, I state here:

atom2ueki commented 8 years ago

@iplus26 thanks for your feedback, I'll try to fix it

jsdf commented 8 years ago

I believe this is already implemented on master (the default has changed to refresh on release). The version on master will be released in the near future as 2.0.0

jsdf commented 8 years ago

If there's any stuff in your fork which you think is worth being merged into the project I'd happily accept a PR

iplus26 commented 8 years ago

@jsdf Great! Looking forward to the update!

atom2ueki commented 8 years ago

@jsdf I need some time to prepare PR, since I saw the current master already give up use renderHeader