ios - ListView section data (react-native) -


i'd create two-tier (section >> entry) listview in react-native similar listviewpagingexample uiexplorerapp using blob data / json populate sections info. also, i'm confused parameter values pass on clonewithrowsandsections.

can't find regarding above topic docs (https://facebook.github.io/react-native/docs/listview.html#content) mention possible. examples helpful.

thank you

you can find source code listviewdatasource here.

the clonewithrows method defined as:

clonewithrows(     datablob: array<any> | {[key: string]: any},     rowidentities: ?array<string> ) 

whereas clonewithrowsandsections is:

clonewithrowsandsections( datablob: any, sectionidentities: ?array, rowidentities: ?array> )

the sectionidentities parameter documented as:

this array of identifiers sections. ie. ['s1', 's2', ...]. if not provided, it's assumed keys of datablob section identities.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -