【发布时间】:2018-05-30 09:07:26
【问题描述】:
我在 android 应用程序中遇到了一个问题,我正在尝试检查已经存在的应用程序,该应用程序包含
implementation('com.squareup.picasso:picasso:3.0.0-SNAPSHOT') {
exclude group: 'com.android.support'
}
毕加索图书馆和
在类中使用该库,这里是代码
import com.squareup.picasso.Picasso;
Picasso.with().load(url).placeholder(R.drawable.default_pic).into(imageView);
这是错误,Error:(49, 20) error: cannot find symbol method with()
而我的 android studio 版本是 3.0 RC1,这是个问题吗?
【问题讨论】:
-
如何将 Picasso.with(MainActivity.this) 替换为 Get() 方法?