Build: Simple FlatList Screen
This screen shows a list of fruits using FlatList. Each fruit name is displayed as a list item.
Target UI
--------------------- | Simple FlatList | |-------------------| | • Apple | | • Banana | | • Cherry | | • Date | | • Elderberry | ---------------------
Use FlatList to display a list of fruit names
Provide data as an array of objects with id and name
Use renderItem to render each fruit name in a Text component
Use keyExtractor to use the id as the unique key