DEV Community

skptricks
skptricks

Posted on

React Native Simple FlatList Component Android Example

Post Link : React Native Simple FlatList Component Android Example

This tutorial explains how to use FlatList component in react native application and apply set onPress event on FlatList to get value from selected list item. FlatList provides easy way to make an efficient scrolling list of data. FlatList - More performant compared to ListView. ListView rendering can get slow once the number of items grows larger. FlatList significantly improves memory usage and efficiency (especially for large or complex lists).

React Native Simple FlatList Component Android Example

FlatList Features :
Flatlist is packed with new components full of features to handle the majority of use cases out of the box:
Scroll loading (onEndReached).
Pull to refresh (onRefresh / refreshing).
Horizontal mode (horizontal).
Fully cross-platform.
Configurable viewability callbacks.
Intelligent item and section separators.
Multi-column support (numColumns)
Footer support.
Separator support.
scrollToEnd, scrollToIndex, and scrollToItem support
Better Flow typing.

Read More...

Top comments (0)