react-native-flatlist-slider
react-native-flatlist-slider copied to clipboard
React Native Image Slider with FlatList
Animation should stop if user is interacting with the slider
Invariant Violation: scrollToIndex out of range: requested index 4 but maximum is 3 I am having this issue just by installing the package and navigating to another screen with react...
Data array sent to FlatList is first saved into state on constructor and then used in FlatList internal component. So, when you modify an element of the data array while...
i am passing initial scroll index but it's not working. it is starting from 0, not from the index i sent. ` {}} initialScrollIndex={this.state.index} currentIndexCallback={this.getItemOfIndex} data={this.state.data} autoscroll={false} /> `
```import { useCallback, useEffect, useRef, useState } from "react"; import { UIManager, Platform, Dimensions, View, FlatList, ImageBackground, Pressable, } from "react-native"; import { Title } from "react-native-paper"; import styles from...