Closed bozzmob closed 8 years ago
Looks like this could be related to #4319.
Thanks @skevy Yes. It looks similar. But, in my case I am not using any 3rd party code. Purely React Native components from UIExplorer Examples(Without any modification). I am not able to understand the reason for the issue.
You might have a JS error somewhere.
@ide Thanks for your reply :)
This is the section of code that the error is pointing to-
<TouchableHighlight onPress={() => this._pressRow(rowID)} underlayColor="transparent">
<View>
<View style={styles.row}>
<Image style={styles.thumb} source={imgSource} />
<Text style={styles.text}>
{rowData}
</Text>
</View>
</View>
</TouchableHighlight>
Basically the 1st view tag. I have not changed any code from UIExplorer example of ListviewGridExample.js file. Except replacing some Image URLs. That's all.
@skevy @ide Thanks for your time and effort :) Not sure how, but, I re-coded the same stuff from the scratch again. And it seems to be working fine.
Here is the code- https://github.com/bozzmob/navigator-react-native
I will figure out the diff between files, across projects and update this issue on what had gone wrong.
Thanks again @ide and @skevy ! Will try my best to help in this community :)
I am using unmodified code(except for a console.log) of ListviewGridLayoutExample. I have called this module as Listicons. And trying to call this scene from another file.
Listicons.js
The logs of console.log of _renderRows-
I am not sure why that error is throwing up. What am I doing wrong?
Screenshot-
// cc : @ide @vjeux @paramaggarwal @akiran