JSOUP 使用 URL 在图像视图中显示图像
我如何使用 JSOUP 使用 URL 在图像视图中显示图像。任何示例代码都可用。我搜索过但没有找到。
请帮我提供任何链接。
谢谢。
How can i use JSOUP to display images in Image view using the URL. Any sample code is available for that. I searched but i couldn't find out.
Please help me with any link.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先与提供的链接建立连接,然后您可以获取图像
,然后
您将使用 Picasso 库将 url 显示为 imageView 中的图像
,就是这样
fir make the connection with provided link then you can get the image with
then
the you will use the Picasso lib for displaying the url as image in imageView
and thats it
您必须从标签中解析图像的 url,然后将其放入字符串或类似的字符串中。然后您可以使用该字符串将图像加载到 imageView 中。
you would have to parse the url of the image from the tag and then put into a string or similar. this string you can then use to load your image into an imageView.