Summary: List View
Here's a quick summary of what we learned in this chapter.
We'll cover the following
What have we learned?
This chapter started with a brief introduction to the list view components provided by React Native, and we learned about the functionality provided by these components.
We then discussed each list view component, such as FlatList
and SectionList
, in detail. We learned:
-
How to use the list view components to create a scrolling list of items.
-
How to create a basic list, add items to the list, and customize the appearance of the list by setting different fonts and colors for each item.
-
How to perfectly organize data using the list view components and create an ordered or unordered list of items, add icons, and customize the style of the list.
-
How to determine what props are necessary to be passed to the list view components.
Finally, we tested our concepts by practically applying them inside coding playgrounds.
Get hands-on with 1400+ tech skills courses.