我正在尝试将应用程序写入我的手机。我使用 react-native-rss-parser 示例中的代码。
import * as rssParser from 'react-native-rss-parser';
return fetch('http://www.kbgau.ru/rss.php')
.then((response) => response.text())
.then((responseData) => rssParser.parse(responseData))
.then((rss) => {
console.log(rss.title);
console.log(rss.items.length);
});
如何正确显示 rss 中的文本到视图中的文本 需要显示 item.title、item.link、item、enclosure url image 帮助请!