我的Json中包含了图像,我想在图像视图中显示它。

问题描述 投票:0回答:1

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

 {"comboDTOArray": [
            {
                "articleActive": "1",
                "articleCode": "0CCE0000230",
                "articleImage": "double scoop combo cup.jpg",
                "articleName": "Double Cup/Cone",
                "articlePrice": "93.22",
                "articleType": "Combo",}]}
android json android-studio android-volley
1个回答
0
投票

你需要在 "articleImage "字段中输入完整的图片url和图片库来加载到ImageView中。

© www.soinside.com 2019 - 2024. All rights reserved.