Files
react-native/Libraries
Eli White ce3628e9d8 Change FillRateHelper.computeBlankness to take any, as expected
Summary:
Data doesn't have to be an array. data and getItemCount can take any arbitrarty data, as long as they expect the same thing. This should probably be parameterized with a generic but that is an improvement for another day.

It is worth noting the comment explanation for the defintion of `data` and `getItem` in VirtualizedList: https://fburl.com/u7ldzaa8

```
/**
 * The default accessor functions assume this is an Array<{key: string} | {id: string}> but you can override
 * getItem, getItemCount, and keyExtractor to handle any type of index-based data.
 */
data?: any,
/**
 * A generic accessor for extracting an item from any sort of data blob.
 */
getItem: (data: any, index: number) => ?Item,
/**
 * Determines how many items are in the data blob.
 */
getItemCount: (data: any) => number,
```

Changelog:
[Internal]

Reviewed By: lunaleaps

Differential Revision: D17863130

fbshipit-source-id: 40a1d57e3b4dd1e38c84d5907fe88f6b665287ae
2019-10-11 09:49:30 -07:00
..
2019-10-10 09:41:33 -07:00
2019-08-09 10:11:15 -07:00
2019-09-13 07:47:57 -07:00
2019-10-03 14:33:59 -07:00
2019-09-30 07:03:51 -07:00
2019-08-09 10:11:15 -07:00
2019-08-23 08:06:44 -07:00
2019-10-03 15:43:38 -07:00
2019-08-09 10:11:15 -07:00
2019-10-10 21:06:45 -07:00
2019-10-03 14:33:59 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-26 23:56:59 -07:00
2019-10-03 15:43:38 -07:00
2019-10-09 09:37:03 -07:00
2019-09-20 13:37:25 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-09-24 18:51:45 -07:00
2019-07-23 03:23:11 -07:00