代码-Glide.with(ScanningActivity.this).load(“ https://qrco.de/bbUCkW”)。into(img);
努力锻炼。
请帮助我将此网址图片加载到imageview中。
我认为您提供的是整个网页的网址,滑动仅从网址中加载图片并将其转换为位图,如果您需要在网页中间加载图片,则需要提供图片网址现在我可以看到this。
这不是图像地址https://qrco.de/bbUCkW
滑行仅加载图像并将其转换为android的位图,但不能访问网站。您需要提供图片网址,这是图片的正确网址是this。
Glide.with(ScanningActivity.this).load("https://qrcgcustomers.s3-eu-west-1.amazonaws.com/account8130921/6716573_1.png?0.7500747721711662").into(img);