We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thanks for this component. I have a problem with section: sometimes the section is rendered.
I'm using:
My code:
<Container> <Header hasSubtitle> <Left> {this._renderLeftHeaderButton()} </Left> <Body style={{ flex: 3 }}> <Title>Ricordi</Title> {this._renderSubtitle()} </Body> <Right> {this._renderRightHeaderButton()} </Right> </Header> <LargeList style={{ flex: 1 }} //safeMargin={600} numberOfRowsInSection={section => this.state.momentList[section].data.length} numberOfSections={()=> this.state.momentList.length} heightForCell={(section, row) =>{ return 50 }} renderCell={(section) => { return ( <View style={{ flex: 1, backgroundColor: "blue", justifyContent: "center", alignItems: "center" }} > <Text> CELL </Text> </View> ); }} heightForSection={section => { return 100 }} renderSection={section => { return ( <View style={{ flex: 1, backgroundColor: "yellow", justifyContent: "center", alignItems: "center" }} > <Text> I am section {section} </Text> </View> ); }} /> </Container>
The problem:
How can I fix? Thanks
The text was updated successfully, but these errors were encountered:
set numberOfSectionPoolSize larger. see this #66
Recommended value is 15-20 for your scene
Sorry, something went wrong.
closed
No branches or pull requests
Hi,
thanks for this component.
I have a problem with section: sometimes the section is rendered.
I'm using:
My code:
The problem:
How can I fix? Thanks
The text was updated successfully, but these errors were encountered: