这个问题类似于这个Access state values from parent using reactnative navigation 除了在链接的问题中它使用默认的react导航头配置之外,我使用的是一个自定义的backgroundColor: colors.darkThemeBackground, headerTintColor: colors.whiteText,
}; 父级包含一个平面
当我的平面列表被呈现时,我在呈现的项目函数中得到相同的项(索引0处的项),并且在我的平面列表中看不到任何数据。我是新的反应native...any的帮助将不胜感激。这是my,它包含平面列表,在呈现项函数中,我将项目传递给另一个组件,我将其命名为ListviewItem。import React,{Component} from '<em