Reputation: 3
I am using dummyData to render items in my Flatlist. My dummyData has 30 items and I want 10 items to be shown on the window at a time. How do I do that? I am new to react native.
Upvotes: 0
Views: 640
Reputation: 826
you can define state
for data of flatlist
and handle that with add first 10 first number of dummy data list . and when scroll goes to down and end of list load more item. for more info see this
Upvotes: 1