首页 > 解决方案 > 我的 Json 包含图像我想在图像视图中显示它

问题描述

这是我的 json,我想在 Android 的 ImageView 上显示 articleImage。

 {"comboDTOArray": [
            {
                "articleActive": "1",
                "articleCode": "0CCE0000230",
                "articleImage": "double scoop combo cup.jpg",
                "articleName": "Double Cup/Cone",
                "articlePrice": "93.22",
                "articleType": "Combo",}]}

标签: androidjsonandroid-volley

解决方案


您需要“articleImage”字段中的完整图像 url 和用于将其加载到 ImageView 的图像库


推荐阅读