Building Lists React Native

Veröffentlicht am: 21 Januar 2020
auf dem Kanal: Coders flow
14
0

React Native provides a set of components for displaying data lists. Generally you want to use either FlatList or SectionList.

The FlatList component displays a scrolling list of variable but similarly structured data. FlatList works well for long lists of data where the number of items may change over time. Unlike the more general ScrollView, FlatList renders only the elements currently displayed on the screen, not all of them at once.

The FlatList component requires two props: data and renderItem. data is a source of information for the list. renderItem takes one item from the source and returns the formatted component for rendering.
#ReactNative
#FlatList
#renderItem


Auf dieser Seite können Sie das Online-Video Building Lists React Native mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coders flow 21 Januar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!