How to integrate Firebase with Glide ('using' method)

zb22 :

I'm trying to use Firebase integration with Glide and for some reason, Glide.using() cannot resolve this method. I did add:

compile 'com.firebaseui:firebase-ui-storage:0.6.0'

Into build.gradle and also:

compile 'com.github.bumptech.glide:glide:4.0.0-RC1'

Here is the part which I'm trying to use 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);

I hope you can help me with that, didn't find any solutions online.

Alex Mamo :

To solve this, please change this line:

compile 'com.github.bumptech.glide:glide:4.0.0-RC1'

with

compile 'com.github.bumptech.glide:glide:3.7.0'

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=439104&siteId=1