From 3a26ea669a82542efb0cc8f0a614b08d1120cd47 Mon Sep 17 00:00:00 2001 From: Zhao Han Date: Thu, 14 May 2015 16:55:37 -0500 Subject: [PATCH] Add more documentation in ListViewDataSource ListViewDataSource's default data extractor can actually expect another data form: `{ sectionID_1: [ , , ... ], ... }` --- Libraries/CustomComponents/ListView/ListViewDataSource.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/CustomComponents/ListView/ListViewDataSource.js b/Libraries/CustomComponents/ListView/ListViewDataSource.js index 8e8000781c96c3..8d6abfee0cc2e6 100644 --- a/Libraries/CustomComponents/ListView/ListViewDataSource.js +++ b/Libraries/CustomComponents/ListView/ListViewDataSource.js @@ -100,6 +100,10 @@ class ListViewDataSource { * The default extractor expects data of one of the following forms: * * { sectionID_1: { rowID_1: , ... }, ... } + * + * or + * + * { sectionID_1: [ , , ... ], ... } * * or *