小编use*_*438的帖子

Android Retrofit没有回复

我只是刚刚改装服务的新手,并按照本教程https://www.simplifiedcoding.net/retrofit-android-tutorial-to-get-json-from-server/它运作良好,并希望创建我自己的我用一个新的JSON网络 http://api.androidhive.info/contacts/包含

{
"contacts": [
    {
            "id": "c200",
            "name": "Ravi Tamada",
            "email": "ravi@gmail.com",
            "address": "xx-xx-xxxx,x - street, x - country",
            "gender" : "male",
            "phone": {
                "mobile": "+91 0000000000",
                "home": "00 000000",
                "office": "00 000000"
            }
    },
    {
            "id": "c201",
            "name": "Johnny Depp",
            "email": "johnny_depp@gmail.com",
            "address": "xx-xx-xxxx,x - street, x - country",
            "gender" : "male",
            "phone": {
                "mobile": "+91 0000000000",
                "home": "00 000000",
                "office": "00 000000"
            }
    },
    {
            "id": "c202",
            "name": "Leonardo Dicaprio",
            "email": "leonardo_dicaprio@gmail.com",
            "address": "xx-xx-xxxx,x …
Run Code Online (Sandbox Code Playgroud)

java rest android json retrofit

5
推荐指数
1
解决办法
881
查看次数

标签 统计

android ×1

java ×1

json ×1

rest ×1

retrofit ×1