我映射状态,调用onpress函数,但不起作用。我不知道这件事我真的需要帮助。0000000000000000000000000000000000000000000000000000000this.onPressItem is not a functionimportkey={i} onPress={this.onPressItem(i)} style={this.}>{value.name}</ReactNative.Text>
我在滚动视图中有几个视图组件,但其中一个视图在画布上有绘图功能,我想在画布中绘图时禁用滚动,但不想在另一个画布上。我一无所知,任何帮助都将不胜感激。 <ScrollView> //allow scrolling while pulling on component <View> //dont allow scrolling while pulling on component<View>
//al