我正在尝试对使用API获取的记录进行分页。我不知道如何添加分页。我的代码是: var url='http://www.example.com/menu_category_listing.php?Actions.category({dataSource:ds.cloneWithRows(responseJson),data:responseJson,})
我得到了 和 从成功登录的JWT令牌,但问题是我只能访问 在登录屏幕中,我希望将该数据(用户)传递到另一个屏幕,帐户屏幕(实际上是帐户屏幕的API端点)。= result.data.user; //This is the information I need in another screen }; 这是我的API端点,我调用AccountScreen来显示用户信息,所以我需要从Login
import React, { useEffect, useState } from "react";import { Spinner, List, ListItem, Text } from "native-base";
import axios from "axios我使用json服务器来使用ax