Glide FileNotFoundException: No content provider when loading images from internet

后端 未结 3 822
无人及你
无人及你 2021-02-19 03:14

I made my own rest api and now it just has endpoint where I show some images. Here how it looks in spring boot application

@GetMapping(\"/image/{name:.+}\")
             


        
3条回答
  •  悲&欢浪女
    2021-02-19 04:13

    in my case i just put my link inside string variable

    String link = "http://myipaddress/api/image/myimage.jpg";
    
    Glide.with(context).load(link).into(img);
    

    and problem solve!

提交回复
热议问题