Please sign in to comment.
Improve the documentation for ListView and ListViewDataSource
Summary: What existing problem does the pull request solve? My motivation was to improve the documentation for ListView and ListViewDataSource because I always have trouble remembering how they work and the documentation was lacking an example for `cloneWithRowsAndSections` My PR does the following: * add a note about how headers and footers are rendered on a horizontal ListView * fix a typo in an example * clarify that the sectionIdentities should match the keys or array indexes of the data source * add an example of cloneWithRowsAndSections * add notes on the return values of `getRowCount` and `getRowAndSectionCount` n/a; documentation only ![screenshot of ListViewDataSource changes](https://cloud.githubusercontent.com/assets/580060/25768881/d339544a-31c1-11e7-88a1-5e60bc008500.png) Closes #13811 Differential Revision: D5473192 Pulled By: hramos fbshipit-source-id: f31fc6edfdeb8dff75d39bbcceda06fd839df934
- Loading branch information...
Showing with 23 additions and 3 deletions.