react-native/Libraries/Lists
Logan Daniels 3559e42c55 Make sure VirtualizedList's windowSize is greater than 0
Summary:
Setting `windowSize = 0` doesn't make sense. Let's make sure we catch this problem in the constructor so that it doesn't cause inexplicable list behavior.

Also fixed an invariant in `VirtualizeUtils` that is meant to prohibit non-monotonically-increasing offset arrays. As written, the invariant condition can never actually be violated.

Reviewed By: sahrens

Differential Revision: D6625302

fbshipit-source-id: b2a983cbe7bb5fbe0aed7c5d59e69a8a00672993
2017-12-21 18:43:50 -08:00
..
ListView Flow 0.59 xplat/js deploy 2017-11-10 21:15:48 -08:00
__flowtests__ Codemod to 1.7.0 2017-09-26 23:45:48 -07:00
__tests__ Make sure VirtualizedList's windowSize is greater than 0 2017-12-21 18:43:50 -08:00
FillRateHelper.js Change all calls to no-console from no-console-disallow 2017-09-29 16:38:06 -07:00
FlatList.js export SeparatorsObj type for re-use in ListItems etc. 2017-11-29 10:53:51 -08:00
MetroListView.js @allow-large-files Flow 0.58 upgrade for xplat/js 2017-11-02 10:51:14 -07:00
SectionList.js Fixed homogenous typo 2017-10-13 00:15:42 -07:00
ViewabilityHelper.js Upgrade to 1.9.1 2017-12-06 17:34:26 -08:00
VirtualizeUtils.js Make sure VirtualizedList's windowSize is greater than 0 2017-12-21 18:43:50 -08:00
VirtualizedList.js Make sure VirtualizedList's windowSize is greater than 0 2017-12-21 18:43:50 -08:00
VirtualizedSectionList.js Codemod to 1.7.0 2017-09-26 23:45:48 -07:00