【问题标题】:load image using picaso into hashmap and display using simpleadapter使用 picaso 将图像加载到 hashmap 并使用 simpleadapter 显示
【发布时间】:2016-01-20 12:07:04
【问题描述】:

我想使用 picaso 将图像加载到 hashmap 中,并在 uicircular imageview 中使用 simpleadapter 显示。由于此列表显示文本 + 圆形图像。数据以 json 格式传入。我想知道怎么做。

【问题讨论】:

    标签: listview hashmap simpleadapter


    【解决方案1】:

    要在 imageview 中加载图像,您可以使用以下代码行,您可以在任何网站上找到:

    Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);
    

    【讨论】:

      猜你喜欢
      • 2017-03-06
      • 2014-05-26
      • 1970-01-01
      • 2023-03-29
      • 2017-12-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多