Dazzle
Dazzle

Reputation: 3083

RN: Scroll items continuously, backwards and forwards

I have an array of limited data,

[0, 1, 2, .... 10]

But I want to show

[ ... 10, 0, 1, ....]

allowing the user to scroll continuously left and right.

How can I achieve this using either ScrollView or FlatList?

Upvotes: 0

Views: 110

Answers (1)

Siraj Alam
Siraj Alam

Reputation: 10045

I suppose it is not supported in FlatList as of now.

Maybe this can help you achieve what you're trying to do.

https://github.com/prateek3255/react-native-infinite-looping-scroll

Upvotes: 1

Related Questions