b-lam / Resplash

Unofficial Unsplash Android App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use new blurhash property

b-lam opened this issue · comments

Replace current blur implantation with one that uses the new blurhash property

Hi @b-lam

If it seems fit, I would like to work on this.

I just had one doubt. Isn't it already implemented here: BlurHashDecoder. Or there is some new implementation around there?

P.S I checked the official implementation from here.

Hey @ashishekka97, yeah that would be awesome if you could work on this! I just copied the BlurHashDecoder from that repo but never got around to actually using it. In this file there are some imageview extensions that load images into imageviews. Currently the only blur that I'm using is from another library in this function ImageView.loadBlurredImage and I think that it is not very efficient so I don't do it on lists of images. I wanted to try making the thumbnails loaded by this function ImageView.loadPhotoUrlWithThumbnail blurred with the blur hash and see how that affects performance but never got around to doing it.