Skip to content
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

List View is not renderring #23

Closed
saravanannnallasamy opened this issue Dec 4, 2017 · 1 comment
Closed

List View is not renderring #23

saravanannnallasamy opened this issue Dec 4, 2017 · 1 comment

Comments

@saravanannnallasamy
Copy link

I have used the Basic Usage timeline list view in my ract-native page. It worked for its default data.
But when i include data via componentWillMount()

componentWillMount(){
    var list = CustomerStore.usagelist;
    this.setState({data:list});
    console.log(JSON.stringify(list));
}

the log is printing the data before runnning the render() but the listview is not showing
instead it throws a warning

Warning: In next release empty section headers will be rendered. In this release you can use 'enableEmptySections' flag to render empty section headers.

I have also used the flag, but there is no use.
<Timeline data={this.state.data} enableEmptySections={true} />
anybody have a solution for this...
I am using React-Native :0.38

@saravanannnallasamy
Copy link
Author

I have resolved it by add the refreshing available in Pull to refresh and load more type of list view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant