bad bitmap error when setting Uri

后端 未结 6 1839
暗喜
暗喜 2021-02-19 12:00

I would like to make an ImageView display an image on a website. So I create a new ImageView and execute imgView.setImageURI(uri);

When I launch the app the

6条回答
  •  猫巷女王i
    2021-02-19 12:31

    Glide is an awesome library for displaying images!

     Glide.with(context)
                        .load(uri)
                        .into(imageView);
    

提交回复
热议问题