我不知道为什么我不能使用bitmapTransform
问题描述:
对于使用bitmapTransform
,我在依赖项中添加了2个编译。我不知道为什么我不能使用bitmapTransform
正如您在下面看到的,滑翔和滑翔转换已成功添加。
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'
但我不能在Glide.with(本).load(URL)使用bitmapTransform
方法?
bitmapTransform方法没有在上面显示。
请帮帮我。
答
我解决了问题。
我修改了glide的编译版本:4.0.0到glide:3.7.0。
然后,我可以使用bitmapTransform。