我正在尝试将 Firebase 与 Glide 集成使用,出于某种原因,Glide.using()
无法解决此方法。
我确实添加了:
compile 'com.firebaseui:firebase-ui-storage:0.6.0'
Into build.gradle
并且:
compile 'com.github.bumptech.glide:glide:4.0.0-RC1'
这是我尝试使用 Glide 的部分:
mStorageRef = FirebaseStorage.getInstance().getReference();
mStorageRef.child("images/Puffer-fish-are-pretty-damn-cute.jpg");
// Load the image using Glide
Glide.with(this)
.using(new FirebaseImageLoader()) // cannot resolve method using!
.load(mStorageRef)
.into(imageView);
希望大家能帮帮我,网上没找到解决办法。
要解决此问题,请更改此行:
compile 'com.github.bumptech.glide:glide:4.0.0-RC1'
with
compile 'com.github.bumptech.glide:glide:3.7.0'
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)