FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

FirebaseImageLoader.FirebaseStorageKey doesn't implement hashCode() and equals()

Open lahiruchandima opened this issue 8 years ago • 2 comments

FirebaseImageLoader.FirebaseStorageKey implements Key interface of glide.

The documentation at Key interface mentions that it is necessary for the implementations to implement hashCode() and equals() methods. But FirebaseImageLoader.FirebaseStorageKey doesn't implement them.

I sometimes observe an issue where glide is loading the same image multiple times from firebase, without looking in the cache. It may be happening due to this.

lahiruchandima avatar Nov 29 '18 15:11 lahiruchandima

@lahiruchandima nice catch! We'll get this fixed in the next release.

samtstern avatar Nov 29 '18 16:11 samtstern

This has been released in version 4.3.0.

samtstern avatar Dec 13 '18 22:12 samtstern