How to display an image from the internet in android?

前端 未结 4 1265
被撕碎了的回忆
被撕碎了的回忆 2020-12-09 12:04

How can I display image in an ImageView in android from a URL (from the internet)?

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 12:21

    I think you can use the setImageUri method. The URI can be built using Uri.parse.

提交回复
热议问题