We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595d200 commit 165b4daCopy full SHA for 165b4da
Example/FlatListExample.js
@@ -19,6 +19,7 @@ export default class FlatListExample extends Component {
19
return (
20
<View style={{flex: 1}}>
21
<FlatList
22
+ keyExtractor={(item)=>item}
23
data={this.state.data}
24
renderItem={({item,index}) => <Text key={index} onPress={()=>alert(111)} style={{height:100}}>{item}</Text>}
25
renderScrollComponent={props=><ScrollView
0 commit comments