We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to use "TouchableOpacity" in my Grid View and wrote my code like bellow
showPlayer(item) { Alert.alert("Sample", "showPlayer"); } renderItem(item) { return <TouchableOpacity style={{alignItems:"center"}} onPress={this.showPlayer.bind(this, item)}> <ImageLoad placeholderSource = {require('../images/PlaceHolder.png')} style={styles.thumbnail} isShowActivity = {false} source={{uri: thumbnailObj.value}} /> <Text style={styles.gridText}> {item.name}</Text> </TouchableOpacity> }
For the above code I am getting error as "undefined is not an object (evaluating 'this.showPlayer.bind')"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to use "TouchableOpacity" in my Grid View and wrote my code like bellow
For the above code I am getting error as "undefined is not an object (evaluating 'this.showPlayer.bind')"
The text was updated successfully, but these errors were encountered: