Skip to content

Commit bd2369b

Browse files
committed
fix the link of example_advanced.js
1 parent 8718512 commit bd2369b

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var {
2222
var GiftedListView = require('react-native-gifted-listview');
2323

2424
var Example = React.createClass({
25-
25+
2626
/**
2727
* Will be called when refreshing
2828
* Should be replaced by your own logic
@@ -42,32 +42,32 @@ var Example = React.createClass({
4242
}
4343
}, 1000); // simulating network fetching
4444
},
45-
46-
45+
46+
4747
/**
4848
* When a row is touched
4949
* @param {object} rowData Row data
5050
*/
5151
_onPress(rowData) {
5252
console.log(rowData+' pressed');
5353
},
54-
54+
5555
/**
5656
* Render a row
5757
* @param {object} rowData Row data
5858
*/
5959
_renderRowView(rowData) {
6060
return (
61-
<TouchableHighlight
62-
style={styles.row}
61+
<TouchableHighlight
62+
style={styles.row}
6363
underlayColor='#c8c7cc'
6464
onPress={() => this._onPress(rowData)}
6565
>
6666
<Text>{rowData}</Text>
6767
</TouchableHighlight>
6868
);
6969
},
70-
70+
7171
render() {
7272
return (
7373
<View style={styles.container}>
@@ -84,7 +84,7 @@ var Example = React.createClass({
8484
backgroundColor: '#eee',
8585
},
8686
}}
87-
87+
8888
PullToRefreshViewAndroidProps={{
8989
colors: ['#ff0000', '#00ff00', '#0000ff'],
9090
progressBackgroundColor: '#c8c7cc',
@@ -114,7 +114,7 @@ var styles = {
114114

115115
### Advanced example
116116

117-
[See Examples/example_advanced.js](Examples/example_advanced.js)
117+
[See GiftedListViewExample/example_advanced.js](GiftedListViewExample/example_advanced.js)
118118

119119

120120
### Installation
@@ -140,4 +140,3 @@ var styles = {
140140

141141

142142
Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi) !
143-

0 commit comments

Comments
 (0)