In this lesson we'll use the ListView component to render a list of items that were entered. We'll show how to setup a ListView.DataSource and how to render custom rows with performance in mind.
Hi, I'm happy to help out but I don't have enough information to go off. If put your code somewhere I can review it, also the code is on github so you can do a comparison and find out where the issue might be.
It looks like you may not be initializing the DataSource with an empty array, or you may not be passing it into the ListView as
Here is a stack overflow topic with the issue http://stackoverflow.com/questions/35472324/react-native-evaluating-datasource-rowidentities
I've gone ahead and added in syntax fixes as a PR https://github.com/orassr/ReactNative/pull/1
For those watching, it appears I misspelled
This is no longer needed either as you can pass
keyboardDismissMode="on-drag" as found in the React Native ScrollView documentation here https://facebook.github.io/react-native/docs/scrollview.html#props
You are calling
setState here https://github.com/orassr/ReactNative/blob/master/app.js#L51 instead of
Also here https://github.com/orassr/ReactNative/blob/master/row.js#L8 you are referencing
style.text and it should be
styles.text. If you fix those it will work.