react-native/Libraries/CustomComponents/ListView
Spencer Ahrens b0bdd4e45d Fix ListView bug where onEndReached wouldn't trigger initially
Summary: @​public

Sometimes we want to load a very small number of rows initially and want the
onEndReached callback to be called immediately to trigger more data to be
loaded without waiting for the  user to scroll at all.  This diff makes that
happen by also checking on mount instead of only when scrolling.

Reviewed By: @vjeux

Differential Revision: D2507184

fb-gh-sync-id: ea8e47667d00387a935a426dd45afe978fd6d8cd
2015-10-05 13:49:00 -07:00
..
ListView.js Fix ListView bug where onEndReached wouldn't trigger initially 2015-10-05 13:49:00 -07:00
ListViewDataSource.js Fix typo in cloneWithRows comments 2015-09-22 17:02:27 -07:00