RN中SectionListView组件的使用说明
$[timeformat('2017-05-15T13:27:46+08:00')]

属性

  1. ItemSeparatorComponent {highlighted,leadingItem,leandingSection,section,trailingItem}
    返回一个行与行之间的分割组件,不会出现在第一行之前和最后一行之后。
    • highlighted 当前行(分割线上面👆的Item)是否是高亮状态
    • leadingItem 当前行分配到的数据源
    • leandingSection 目前我也没搞明白啥意思 这里是undefined
    • section 当前段分配到的数据源
    • trailingItem 尾段数据
  2. ListEmptyCompone 没有接收参数
    渲染一个cell为空时的缓冲组件
  3. ListFooterComponent 没有接收参数
    渲染整个组件的Footer
  4. ListHeaderComponent 没有接收参数
    渲染整个组件的Header