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
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 viacomponentWillMount()
the log is printing the data before runnning the
render()
but the listview is not showing instead it throws a warningI 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