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

Preserve pre-existing `renderHeader` on the `ListView`, if defined #2

Closed rpastorelle closed 9 years ago

jsdf commented 9 years ago

I like the idea but I'm not sure about the implementation. Thinking about it from the perspective of the API, I think it would make more sense if we just provided a way to replace what is shown when refreshing entirely, and also allow the API consumer to provide their own renderHeader function which would be somehow combined with the 'refreshing' header content (probably appended to it).

jsdf commented 9 years ago

This functionality is now provided by the major changes in v1.0.0