Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Creating Lists with Sections #909

@njt1982

Description

@njt1982

RE: https://github.com/GeekyAnts/NativeBase/blob/master/src/basic/List.js#L15

react-native, react and native-base version

RN 0.43, NB 2.1.2

Expected behaviour

To be able to pass in a hash of sections and rows, with section data for labels (like you can with ListView).

Actual behaviour

Can only pass in a "flat" single section list, as we assume dataArray coded that way, using cloneWithRows. See: http://richardkho.com/section-headers-in-react-native-listview-components/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions