Reputation: 5
How can I detect if a user has scrolled to the end of the FlatList list so i can add a footer message that "You're now at the end of the list".
Any help will be appreciated.
Upvotes: 0
Views: 337
Reputation: 466
You can use header/footer component in Flatlist For example,
<FlatList
.....
ListFooterComponent={<Text>You're now at the end of the list</Text>}
/>
Upvotes: 1