Create a bidirectional repeating/looping infinite scrollView in react native

(Prateek Surana) #1

I want to create a scroll that repeats itself, again and again, i.e. when I keep scrolling to the top I reach the last row and when I scroll to the bottom I reach the first row again.

I have tried searching components for the same, but the best I could find were these -

react-native-infinite-scroll and this stackoverflow answer but both of them only tell about how can I load more data when I reach the ScrollView or ListView end.