2017-08-15 56 views
0

對於使用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方法沒有在上面顯示。

請幫幫我。

回答

0

我解決了問題。

我修改了glide的編譯版本:4.0.0到glide:3.7.0。

然後,我可以使用bitmapTransform。

相關問題