-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renderSection只渲染了一次 #188
Comments
你这种情况需要加大numberOfSectionPoolSize,具体可以看之前的issues #66 升级成V2吧,V1没维护了, V2不需要考虑这个问题,使用更简单,只是没做左右滑动的功能 |
npm install react-native-largelist --save 这样升级不到v2 |
看文档啊 ! V2为了避免很多人升级出问题,我新建了一个库 react-native-largelist-v2 |
之前你的文档没有打开 现在可以了 麻烦你了 我关闭这问题了 |
安装react-native-gesture-handler 报错 Unhandled JS Exception: undefined is not an object (evaluating 'RNGestureHandlerModule.State') 你这边有解决方案吗? |
没有链接原声库,基本的东西! |
按文档来 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<LargeList
style={{flex:1}}
ref={ref => (this._listView = ref)}
reloadData={this.state.dataSource}
numberOfSections={()=>this.state.dataSource.length}
numberOfRowsInSection={section => this.state.dataSource[section].data.length}
heightForCell={()=>74}
heightForSection={()=>20}
renderSection={this.renderSectionHeader.bind(this)}
renderCell={this.renderItem.bind(this)}
renderHeader={this.renderHeader}
/>
滑动到底部section不加载P以后的字母
"react-native-largelist": "^1.2.12",
Environment:
OS: macOS High Sierra 10.13.6
Node: 8.11.4
Yarn: 1.9.4
npm: 5.6.0
Watchman: 4.9.0
Xcode: Not Found
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.0 => 0.53.0
The text was updated successfully, but these errors were encountered: