Glide: "Cannot resolve method using[...]"

Created on 3 Jul 2017  路  6Comments  路  Source: bumptech/glide

https://stackoverflow.com/questions/44832599/cannot-resolve-method-usingcom-firebase-ui-storage-images-firebaseimageloader

I'm having the same problem on my end. It tells me nothing more than
"Cannot resolve method using(com.ui.firebase.storage.images.FirebaseImageLoader)".
Everything else seems to be working fine.

  • FirebaseUI version: 1.2.0
  • Glide version: 4.0.0-RC1
non-library question stale v4

All 6 comments

FirebaseUI will have to update to Glide 4 as well. I'll post an answer to SO for a workaround if it's possible.

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

According to this http://bumptech.github.io/glide/doc/migrating.html#using, using() was removed from Glide 4, so it cannot be used in firebase, is that right?

@PeterHdd Even if using was available, the interface would've changed. You can still achieve the same functionality with Glide modules. Note that even in 3.x the preferred way would've been to use a pre-registered loader to handle Firebase types.
Note: a loader is a simple glue between the two libraries (Glide and external), they're usually very simple so you can always write your own.

Thank you so much for answering, this is the first time I comment on github. Yes, I was answering this question on stackoverflow https://stackoverflow.com/questions/48762263/using-firebase-storage-image-with-glide. It is why I asked. Thank you!

Was this page helpful?
0 / 5 - 0 ratings