Skip to content

blurhash doesn't seem to work w/ Coil 1.0 #5

@kenyee

Description

@kenyee

Calling it with:

           image.load(it.imageUrls.small) {
                crossfade(true)
                blurPlaceHolder(it.blurHash, image, blurHash = blurHashHandler)
                { coilImageBuilder ->
                    coilImageBuilder.build()
                }
            }

blurHashHandler is initialized in the fragment like so:

val blurHashHandler = BlurHash(requireContext(), lruSize = 20, punch = 1F)

The images pop into view w/o showing the blurhash placeholder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions