ReactNative學習第七天 項目fetch+ListView

昨天我搭了一個殼,裏面什麼數據都沒有 今天我要做數據請求+列表展示,當時是最簡單的例子,畢竟我是個初學者 請求數據用 fetch fetch('http://facebook.github.io/react-native/movies.json') 例子的部分代碼: // 初始化模擬數據 constructor(props) {     super(props);     const ds = n
相關文章
相關標籤/搜索