Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 获取react native中项目列表中的值_React Native - Fatal编程技术网

React native 获取react native中项目列表中的值

React native 获取react native中项目列表中的值,react-native,React Native,我现在正在学习英语。所以我的问题可能是假的 在城市列表中,有de city代码,获取城市名称的最佳方法是什么 例如: "city": { 2f11: "Paris", 2f12: "Berlin", 3d11: "Rome", 4q11: "Madrid", ... } 谢谢你的帮助 干杯

我现在正在学习英语。所以我的问题可能是假的

在城市列表中,有de city代码,获取城市名称的最佳方法是什么

例如:

"city": {
    2f11: "Paris",
    2f12: "Berlin",
    3d11: "Rome",
    4q11: "Madrid",
     ...
}
谢谢你的帮助

干杯