ReactNative错误归纳(持续更新)
ListViewDataSource
错误:row and section ids lengths must be the same
原因:在构造分组listview的数据源时,使用到了dataBlob数据源,其中将rowIDs数组中的数据构造有误。
正确的形式应该是:
rowIDs:
[[‘section1.row1’,’section1.row2’],[‘section
原创
2016-12-16 21:57:35 ·
1145 阅读 ·
0 评论