react-native/Libraries/Lists
Taylor Kline 82b4b9b115 Give complex FlatList example more motivation
Summary:
Previously, the example MyListItem never referenced the selected prop, leaving ambiguity about the intention of the demo.

By adding a concrete implementation with coloring based on the selected prop, we can see that this is a demo of a multi-select list for batch actions instead of, say, a click-to-navigate nested list.

Here is a working Snack demo for future reference:
https://snack.expo.io/BkRMRTGB-

References #14872

<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes https://github.com/facebook/react-native/pull/14957

Differential Revision: D5892186

Pulled By: sahrens

fbshipit-source-id: c7b46b5f6eae8f36bd4bda7cbbd354cc22108b42
2017-09-22 13:04:06 -07:00
..
ListView Fix Flow errors in ListViewData source. 2017-09-19 16:57:41 -07:00
__flowtests__ Enforce Prettier for @format 2017-07-10 15:37:36 -07:00
__tests__ fix ItemSeparatorComponent position in horizontal and inverted mode 2017-09-08 15:06:50 -07:00
FillRateHelper.js @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
FlatList.js Give complex FlatList example more motivation 2017-09-22 13:04:06 -07:00
MetroListView.js Fix React Native open source 2017-08-29 15:01:05 -07:00
SectionList.js Add snapshot tests for sticky headers 2017-09-07 13:05:35 -07:00
ViewabilityHelper.js Extend FlatList to support multiple viewability configs 2017-09-05 18:51:25 -07:00
VirtualizeUtils.js Codemod prettier to 1.5.2 2017-06-28 12:50:30 -07:00
VirtualizedList.js Allow data lists to include 0 or '' (falsey items) 2017-09-13 17:33:03 -07:00
VirtualizedSectionList.js Fix React Native open source 2017-08-29 15:01:05 -07:00