react native listview date separator site 3astackoverflow com

Solutions on MaxInterview for react native listview date separator site 3astackoverflow com by the best coders in the world

showing results for - "react native listview date separator site 3astackoverflow com"
Massimo
26 Sep 2016
1          <FlatList
2            data={newsData}
3            renderItem={({ item, index }) => (
4              item.featured === null && this.renderNews(item)
5            )}
6            keyExtractor={item => item.id.toString()}
7            style={styles.container}
8            ItemSeparatorComponent={(index===0 || index === newsData.length - 1) ? null : this.renderSeparator}
9            ListHeaderComponent={this.renderFeaturedNews}
10          />
11
similar questions