我不知道为什么我不能使用bitmapTransform

时间:2017-08-15 16:16:46

标签: android android-glide

对于使用bitmapTransform,我在依赖项中添加了2个编译。

如下所示,成功添加了滑行和滑行变换。

compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.1'
compile 'com.android.volley:volley:1.0.0'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.android.support:design:25.2.0'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:recyclerview-v7:25.2.0'
testCompile 'junit:junit:4.12'
compile 'com.github.bumptech.glide:glide:4.0.0'
compile 'jp.wasabeef:glide-transformations:2.0.2'

但我无法在bitmapTransform使用Glide.with(this).load(url)方法。?

bitmapTransform方法未在上面显示。

1 个答案:

答案 0 :(得分:0)

我解决了问题。

我从glide修改了编译版本:4.0.0到滑行:3.7.0。

然后,我可以使用bitmapTransform。

相关问题