bumptech / bumptech/glide

Feature request: expose rememberGlidePainter function for compose

Open
#5,125 8 comments 25 reactions 0 assignees View on GitHub
Compose feature
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

I would like to propose exposing a `rememberGlidePainter()` function that returns a `Painter` that fetches the remote image. This would behave similarly to how it works in Coil via `rememberAsyncImagePainter()`: https://coil-kt.github.io/coil/compose/#asyncimagepainter

This would allow you to load an image just using a simple `Painter` that could be rendered using any composable (instead of forcing you to render it via `GlideImage`).

Without this feature, it becomes very difficult to migrate from coil to glide for example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.