如何直接用毕加索库加载位图,如下所示 [英] how to load bitmap directly with picasso library like following
本文介绍了如何直接用毕加索库加载位图,如下所示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Picasso.with(context).load("url").into(imageView);
在这里,我要位图而不是URL,我该如何实现这一点. 就像下面的
Here instead of url i want bitmap how can i achieve this. like below-
Picasso.with(context).load(bitmap).into(imageView);
推荐答案
这应该对您有用. 将返回的URI与Picasso一起使用.
This should work for you. Use the returned URI with Picasso.
(摘自:
这篇关于如何直接用毕加索库加载位图,如下所示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文