Closed fredmanxu closed 2 years ago
"react-native": "^0.63.3", "react-native-largelist-v3": "^3.1.0-rc.1", "react-native-spring-scrollview": "^3.0.1-rc.5",
render() { const {data} = this.state return ( <View style={[{flex: 1}]}> <LargeList bounces={Platform.OS === 'ios'} showsVerticalScrollIndicator={false} data={data} groupCount={8} ref={ref => (this._list = ref)} renderSection={this.renderSection} renderIndexPath={this.renderItem} heightForSection={() => SECTION_HEIGHT} getItemLayout={(data, index) => ( {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index} )} heightForIndexPath={() => ITEM_HEIGHT} /> </View> ) }
Sorry,It's my problem,Because I accidentally turned off the transition animation in the developer options.