react-native - React Native Flatlit - 数组中的 Keyextractor
问题描述
我想使用 Google 图书返回的 ISBN 代码将 keyextractor 用于平面列表:
"industryIdentifiers": [{ "identifier": "8870755312", "type": "ISBN_10" }, { "identifier": "9788870755312", "type": "ISBN_13" }],
我尝试过这样的事情但不起作用
keyExtractor={(item, index) => item.industryIdentifiers[1].identifier}
任何想法?谢谢
解决方案
推荐阅读
- machine-learning - `Torch`中的卷积层(即`nn.SpatialConvolution`)和`Pytorch`中的卷积层(即`torch.nn.Conv2d`)有什么不同
- python - Python - How to make a loop deep inside nested while loops to not return to the beginning of the whole loop but make it return to its own while loop
- python - Python 正则表达式替换以特定短语开头和结尾的文本
- cuda - CUDA - 在内核中动态重新分配更多全局内存
- wpf - QuickTime video grabber example for Windows
- c# - Excessive use of async await?
- python - scraper not scraping field "Description"
- r - R how to get no. of cities search vs count of distinct visitorid
- html - 如何在水平弹性框中垂直对齐嵌套的子项?
- document - Is there a general solution for converting documents to plain text?